Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / webbar / index.js
index 3f00cc1..cdb67c6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd1cf=['unhold','/transfer','transfer','exports','express','Router','../../components/auth/service','./webbar.controller','post','/originate','canUpdate','originate','/hangup','hangup','/answer','isAuthenticated','answer','/hold','hold','/unhold'];(function(_0x4aea7f,_0xdae0a5){var _0x57ae7d=function(_0x3965c5){while(--_0x3965c5){_0x4aea7f['push'](_0x4aea7f['shift']());}};_0x57ae7d(++_0xdae0a5);}(_0xd1cf,0x7c));var _0xfd1c=function(_0x54d52,_0x2473ba){_0x54d52=_0x54d52-0x0;var _0x968345=_0xd1cf[_0x54d52];return _0x968345;};'use strict';var express=require(_0xfd1c('0x0'));var router=express[_0xfd1c('0x1')]();var auth=require(_0xfd1c('0x2'));var controller=require(_0xfd1c('0x3'));router[_0xfd1c('0x4')](_0xfd1c('0x5'),auth['isAuthenticated'](),auth[_0xfd1c('0x6')](),controller[_0xfd1c('0x7')]);router[_0xfd1c('0x4')](_0xfd1c('0x8'),auth['isAuthenticated'](),auth[_0xfd1c('0x6')](),controller[_0xfd1c('0x9')]);router[_0xfd1c('0x4')](_0xfd1c('0xa'),auth[_0xfd1c('0xb')](),auth[_0xfd1c('0x6')](),controller[_0xfd1c('0xc')]);router[_0xfd1c('0x4')](_0xfd1c('0xd'),auth[_0xfd1c('0xb')](),auth['canUpdate'](),controller[_0xfd1c('0xe')]);router[_0xfd1c('0x4')](_0xfd1c('0xf'),auth['isAuthenticated'](),auth[_0xfd1c('0x6')](),controller[_0xfd1c('0x10')]);router[_0xfd1c('0x4')]('/calls',auth['isAuthenticated'](),auth[_0xfd1c('0x6')](),controller['calls']);router['post'](_0xfd1c('0x11'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0xfd1c('0x12')]);module[_0xfd1c('0x13')]=router;
\ No newline at end of file
+var _0x6f0d=['isAuthenticated','isWebrtcLicence','originate','/hangup','/answer','/hold','hold','unhold','calls','/transfer','transfer','exports','Router','../../components/auth/service','./webbar.controller','post'];(function(_0x2b8bc6,_0x42ca45){var _0x4cb4ca=function(_0x1e8096){while(--_0x1e8096){_0x2b8bc6['push'](_0x2b8bc6['shift']());}};_0x4cb4ca(++_0x42ca45);}(_0x6f0d,0x16c));var _0xd6f0=function(_0x463067,_0x596da9){_0x463067=_0x463067-0x0;var _0x245f8c=_0x6f0d[_0x463067];return _0x245f8c;};'use strict';var express=require('express');var router=express[_0xd6f0('0x0')]();var auth=require(_0xd6f0('0x1'));var controller=require(_0xd6f0('0x2'));router[_0xd6f0('0x3')]('/originate',auth[_0xd6f0('0x4')](),auth[_0xd6f0('0x5')](),controller[_0xd6f0('0x6')]);router[_0xd6f0('0x3')](_0xd6f0('0x7'),auth['isAuthenticated'](),auth[_0xd6f0('0x5')](),controller['hangup']);router[_0xd6f0('0x3')](_0xd6f0('0x8'),auth[_0xd6f0('0x4')](),auth[_0xd6f0('0x5')](),controller['answer']);router['post'](_0xd6f0('0x9'),auth[_0xd6f0('0x4')](),auth[_0xd6f0('0x5')](),controller[_0xd6f0('0xa')]);router[_0xd6f0('0x3')]('/unhold',auth[_0xd6f0('0x4')](),auth[_0xd6f0('0x5')](),controller[_0xd6f0('0xb')]);router[_0xd6f0('0x3')]('/calls',auth[_0xd6f0('0x4')](),auth[_0xd6f0('0x5')](),controller[_0xd6f0('0xc')]);router[_0xd6f0('0x3')](_0xd6f0('0xd'),auth[_0xd6f0('0x4')](),auth[_0xd6f0('0x5')](),controller[_0xd6f0('0xe')]);module[_0xd6f0('0xf')]=router;
\ No newline at end of file