Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / webbar / index.js
index 2fe62c2..cdb67c6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0dba=['unhold','/calls','calls','/transfer','transfer','exports','express','Router','../../components/auth/service','./webbar.controller','post','/originate','isAuthenticated','canUpdate','originate','/hangup','/answer','/hold','/unhold'];(function(_0x4d8ed9,_0x2ae284){var _0x1e2140=function(_0x9cca89){while(--_0x9cca89){_0x4d8ed9['push'](_0x4d8ed9['shift']());}};_0x1e2140(++_0x2ae284);}(_0x0dba,0x136));var _0xa0db=function(_0x471123,_0x323322){_0x471123=_0x471123-0x0;var _0x4a5b07=_0x0dba[_0x471123];return _0x4a5b07;};'use strict';var express=require(_0xa0db('0x0'));var router=express[_0xa0db('0x1')]();var auth=require(_0xa0db('0x2'));var controller=require(_0xa0db('0x3'));router[_0xa0db('0x4')](_0xa0db('0x5'),auth[_0xa0db('0x6')](),auth[_0xa0db('0x7')](),controller[_0xa0db('0x8')]);router[_0xa0db('0x4')](_0xa0db('0x9'),auth[_0xa0db('0x6')](),auth['canUpdate'](),controller['hangup']);router['post'](_0xa0db('0xa'),auth[_0xa0db('0x6')](),auth[_0xa0db('0x7')](),controller['answer']);router[_0xa0db('0x4')](_0xa0db('0xb'),auth[_0xa0db('0x6')](),auth[_0xa0db('0x7')](),controller['hold']);router[_0xa0db('0x4')](_0xa0db('0xc'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0xa0db('0xd')]);router[_0xa0db('0x4')](_0xa0db('0xe'),auth[_0xa0db('0x6')](),auth['canUpdate'](),controller[_0xa0db('0xf')]);router[_0xa0db('0x4')](_0xa0db('0x10'),auth[_0xa0db('0x6')](),auth[_0xa0db('0x7')](),controller[_0xa0db('0x11')]);module[_0xa0db('0x12')]=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