1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x3a53=['/answer','answer','/hold','hold','/unhold','unhold','calls','/transfer','Router','../../components/auth/service','./webbar.controller','post','/originate','isAuthenticated','canUpdate','originate','/hangup','hangup'];(function(_0x339f68,_0x3f79c3){var _0x3cada7=function(_0x2fccc4){while(--_0x2fccc4){_0x339f68['push'](_0x339f68['shift']());}};_0x3cada7(++_0x3f79c3);}(_0x3a53,0x98));var _0x33a5=function(_0x22f82a,_0x36ea1d){_0x22f82a=_0x22f82a-0x0;var _0x3abd49=_0x3a53[_0x22f82a];return _0x3abd49;};'use strict';var express=require('express');var router=express[_0x33a5('0x0')]();var auth=require(_0x33a5('0x1'));var controller=require(_0x33a5('0x2'));router[_0x33a5('0x3')](_0x33a5('0x4'),auth[_0x33a5('0x5')](),auth[_0x33a5('0x6')](),controller[_0x33a5('0x7')]);router['post'](_0x33a5('0x8'),auth[_0x33a5('0x5')](),auth[_0x33a5('0x6')](),controller[_0x33a5('0x9')]);router[_0x33a5('0x3')](_0x33a5('0xa'),auth['isAuthenticated'](),auth[_0x33a5('0x6')](),controller[_0x33a5('0xb')]);router[_0x33a5('0x3')](_0x33a5('0xc'),auth[_0x33a5('0x5')](),auth[_0x33a5('0x6')](),controller[_0x33a5('0xd')]);router[_0x33a5('0x3')](_0x33a5('0xe'),auth[_0x33a5('0x5')](),auth[_0x33a5('0x6')](),controller[_0x33a5('0xf')]);router[_0x33a5('0x3')]('/calls',auth['isAuthenticated'](),auth[_0x33a5('0x6')](),controller[_0x33a5('0x10')]);router['post'](_0x33a5('0x11'),auth[_0x33a5('0x5')](),auth['canUpdate'](),controller['transfer']);module['exports']=router;