Built motion from commit 4a18b36e645f5fa4a517d36f9783bde259878164. Version 3.0.0...
[motion-next.git] / server / api / webbar / index.js
1 const a779_0x422e=['transfer','./webbar.controller','answer','hangup','unhold','canUpdate','/unhold','post','Router','isAuthenticated','../../components/auth/service','/transfer','/answer','/hold','/hangup','/originate','originate','calls'];(function(_0x24f558,_0x422e46){const _0x2f04a6=function(_0x5131bd){while(--_0x5131bd){_0x24f558['push'](_0x24f558['shift']());}};_0x2f04a6(++_0x422e46);}(a779_0x422e,0x1a3));const a779_0x2f04=function(_0x24f558,_0x422e46){_0x24f558=_0x24f558-0x0;let _0x2f04a6=a779_0x422e[_0x24f558];return _0x2f04a6;};const _0x3e3a0d=a779_0x2f04;'use strict';const express=require('express'),router=express[_0x3e3a0d('0x3')](),auth=require(_0x3e3a0d('0x5')),controller=require(_0x3e3a0d('0xe'));router[_0x3e3a0d('0x2')](_0x3e3a0d('0xa'),auth[_0x3e3a0d('0x4')](),auth['canUpdate'](),controller[_0x3e3a0d('0xb')]),router[_0x3e3a0d('0x2')](_0x3e3a0d('0x9'),auth['isAuthenticated'](),auth[_0x3e3a0d('0x0')](),controller[_0x3e3a0d('0x10')]),router['post'](_0x3e3a0d('0x7'),auth[_0x3e3a0d('0x4')](),auth[_0x3e3a0d('0x0')](),controller[_0x3e3a0d('0xf')]),router[_0x3e3a0d('0x2')](_0x3e3a0d('0x8'),auth[_0x3e3a0d('0x4')](),auth[_0x3e3a0d('0x0')](),controller['hold']),router[_0x3e3a0d('0x2')](_0x3e3a0d('0x1'),auth['isAuthenticated'](),auth[_0x3e3a0d('0x0')](),controller[_0x3e3a0d('0x11')]),router[_0x3e3a0d('0x2')]('/calls',auth[_0x3e3a0d('0x4')](),auth[_0x3e3a0d('0x0')](),controller[_0x3e3a0d('0xc')]),router[_0x3e3a0d('0x2')](_0x3e3a0d('0x6'),auth['isAuthenticated'](),auth[_0x3e3a0d('0x0')](),controller[_0x3e3a0d('0xd')]),module['exports']=router;