Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / webbar / index.js
index 129d2d0..98ec3d2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1c42=['/answer','/hold','hold','/unhold','calls','/transfer','transfer','exports','Router','../../components/auth/service','./webbar.controller','/originate','isAuthenticated','canUpdate','originate','post','/hangup'];(function(_0x134c79,_0x2136d3){var _0x2c2142=function(_0x537f61){while(--_0x537f61){_0x134c79['push'](_0x134c79['shift']());}};_0x2c2142(++_0x2136d3);}(_0x1c42,0x13a));var _0x21c4=function(_0xab4add,_0x429ddc){_0xab4add=_0xab4add-0x0;var _0x3b4253=_0x1c42[_0xab4add];return _0x3b4253;};'use strict';var express=require('express');var router=express[_0x21c4('0x0')]();var auth=require(_0x21c4('0x1'));var controller=require(_0x21c4('0x2'));router['post'](_0x21c4('0x3'),auth[_0x21c4('0x4')](),auth[_0x21c4('0x5')](),controller[_0x21c4('0x6')]);router[_0x21c4('0x7')](_0x21c4('0x8'),auth[_0x21c4('0x4')](),auth[_0x21c4('0x5')](),controller['hangup']);router[_0x21c4('0x7')](_0x21c4('0x9'),auth['isAuthenticated'](),auth[_0x21c4('0x5')](),controller['answer']);router[_0x21c4('0x7')](_0x21c4('0xa'),auth[_0x21c4('0x4')](),auth[_0x21c4('0x5')](),controller[_0x21c4('0xb')]);router[_0x21c4('0x7')](_0x21c4('0xc'),auth[_0x21c4('0x4')](),auth[_0x21c4('0x5')](),controller['unhold']);router[_0x21c4('0x7')]('/calls',auth[_0x21c4('0x4')](),auth['canUpdate'](),controller[_0x21c4('0xd')]);router[_0x21c4('0x7')](_0x21c4('0xe'),auth[_0x21c4('0x4')](),auth[_0x21c4('0x5')](),controller[_0x21c4('0xf')]);module[_0x21c4('0x10')]=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