452684d47110c09172b07056a528b4d61b404d1f
[motion-next.git] / server / api / webbar / index.js
1 const a779_0x4128=['isAuthenticated','originate','/hangup','/transfer','transfer','express','/originate','../../components/auth/service','/calls','/answer','/unhold','unhold','hold','calls','canUpdate','post','Router','exports'];(function(_0x7b6177,_0x41289a){const _0x2d83c2=function(_0x16bbc0){while(--_0x16bbc0){_0x7b6177['push'](_0x7b6177['shift']());}};_0x2d83c2(++_0x41289a);}(a779_0x4128,0xc1));const a779_0x2d83=function(_0x7b6177,_0x41289a){_0x7b6177=_0x7b6177-0x0;let _0x2d83c2=a779_0x4128[_0x7b6177];return _0x2d83c2;};const _0x310add=a779_0x2d83;'use strict';const express=require(_0x310add('0xa')),router=express[_0x310add('0x3')](),auth=require(_0x310add('0xc')),controller=require('./webbar.controller');router[_0x310add('0x2')](_0x310add('0xb'),auth['isAuthenticated'](),auth[_0x310add('0x1')](),controller[_0x310add('0x6')]),router[_0x310add('0x2')](_0x310add('0x7'),auth['isAuthenticated'](),auth[_0x310add('0x1')](),controller['hangup']),router['post'](_0x310add('0xe'),auth[_0x310add('0x5')](),auth[_0x310add('0x1')](),controller['answer']),router[_0x310add('0x2')]('/hold',auth[_0x310add('0x5')](),auth[_0x310add('0x1')](),controller[_0x310add('0x11')]),router[_0x310add('0x2')](_0x310add('0xf'),auth[_0x310add('0x5')](),auth[_0x310add('0x1')](),controller[_0x310add('0x10')]),router['post'](_0x310add('0xd'),auth[_0x310add('0x5')](),auth[_0x310add('0x1')](),controller[_0x310add('0x0')]),router[_0x310add('0x2')](_0x310add('0x8'),auth['isAuthenticated'](),auth[_0x310add('0x1')](),controller[_0x310add('0x9')]),module[_0x310add('0x4')]=router;