Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / webbar / index.js
index 04f4db0..99b6aa0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa631=['/hold','hold','unhold','calls','/transfer','transfer','exports','Router','../../components/auth/service','./webbar.controller','/originate','originate','post','/hangup','/answer','isAuthenticated','canUpdate'];(function(_0x480eaa,_0x3cf0ab){var _0x852452=function(_0x54ea23){while(--_0x54ea23){_0x480eaa['push'](_0x480eaa['shift']());}};_0x852452(++_0x3cf0ab);}(_0xa631,0xe4));var _0x1a63=function(_0x30f5e9,_0x33d522){_0x30f5e9=_0x30f5e9-0x0;var _0x321de7=_0xa631[_0x30f5e9];return _0x321de7;};'use strict';var express=require('express');var router=express[_0x1a63('0x0')]();var auth=require(_0x1a63('0x1'));var controller=require(_0x1a63('0x2'));router['post'](_0x1a63('0x3'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0x1a63('0x4')]);router[_0x1a63('0x5')](_0x1a63('0x6'),auth['isAuthenticated'](),auth['canUpdate'](),controller['hangup']);router['post'](_0x1a63('0x7'),auth[_0x1a63('0x8')](),auth[_0x1a63('0x9')](),controller['answer']);router['post'](_0x1a63('0xa'),auth[_0x1a63('0x8')](),auth[_0x1a63('0x9')](),controller[_0x1a63('0xb')]);router[_0x1a63('0x5')]('/unhold',auth[_0x1a63('0x8')](),auth[_0x1a63('0x9')](),controller[_0x1a63('0xc')]);router[_0x1a63('0x5')]('/calls',auth[_0x1a63('0x8')](),auth[_0x1a63('0x9')](),controller[_0x1a63('0xd')]);router['post'](_0x1a63('0xe'),auth['isAuthenticated'](),auth[_0x1a63('0x9')](),controller[_0x1a63('0xf')]);module[_0x1a63('0x10')]=router;
\ No newline at end of file
+var _0xe94a=['/answer','answer','hold','/unhold','unhold','transfer','exports','express','Router','../../components/auth/service','post','/originate','isAuthenticated','canUpdate','originate','hangup'];(function(_0x38082e,_0xe78dcb){var _0x45b8a8=function(_0x4b64fc){while(--_0x4b64fc){_0x38082e['push'](_0x38082e['shift']());}};_0x45b8a8(++_0xe78dcb);}(_0xe94a,0x1c7));var _0xae94=function(_0xb6e2ea,_0x3b26e9){_0xb6e2ea=_0xb6e2ea-0x0;var _0x2a57bb=_0xe94a[_0xb6e2ea];return _0x2a57bb;};'use strict';var express=require(_0xae94('0x0'));var router=express[_0xae94('0x1')]();var auth=require(_0xae94('0x2'));var controller=require('./webbar.controller');router[_0xae94('0x3')](_0xae94('0x4'),auth[_0xae94('0x5')](),auth[_0xae94('0x6')](),controller[_0xae94('0x7')]);router[_0xae94('0x3')]('/hangup',auth[_0xae94('0x5')](),auth[_0xae94('0x6')](),controller[_0xae94('0x8')]);router[_0xae94('0x3')](_0xae94('0x9'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0xae94('0xa')]);router[_0xae94('0x3')]('/hold',auth[_0xae94('0x5')](),auth[_0xae94('0x6')](),controller[_0xae94('0xb')]);router[_0xae94('0x3')](_0xae94('0xc'),auth[_0xae94('0x5')](),auth[_0xae94('0x6')](),controller[_0xae94('0xd')]);router['post']('/calls',auth[_0xae94('0x5')](),auth[_0xae94('0x6')](),controller['calls']);router[_0xae94('0x3')]('/transfer',auth[_0xae94('0x5')](),auth[_0xae94('0x6')](),controller[_0xae94('0xe')]);module[_0xae94('0xf')]=router;
\ No newline at end of file