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 _0x4944=['isAuthenticated','originate','/hangup','canUpdate','hangup','/answer','answer','/hold','hold','unhold','calls','/transfer','transfer','exports','express','../../components/auth/service','./webbar.controller','post','/originate'];(function(_0xef89d,_0x287047){var _0x23d599=function(_0x20ebad){while(--_0x20ebad){_0xef89d['push'](_0xef89d['shift']());}};_0x23d599(++_0x287047);}(_0x4944,0x6d));var _0x4494=function(_0xf3fbd6,_0x595e6d){_0xf3fbd6=_0xf3fbd6-0x0;var _0x50898a=_0x4944[_0xf3fbd6];return _0x50898a;};'use strict';var express=require(_0x4494('0x0'));var router=express['Router']();var auth=require(_0x4494('0x1'));var controller=require(_0x4494('0x2'));router[_0x4494('0x3')](_0x4494('0x4'),auth[_0x4494('0x5')](),auth['canUpdate'](),controller[_0x4494('0x6')]);router['post'](_0x4494('0x7'),auth[_0x4494('0x5')](),auth[_0x4494('0x8')](),controller[_0x4494('0x9')]);router[_0x4494('0x3')](_0x4494('0xa'),auth[_0x4494('0x5')](),auth[_0x4494('0x8')](),controller[_0x4494('0xb')]);router['post'](_0x4494('0xc'),auth[_0x4494('0x5')](),auth[_0x4494('0x8')](),controller[_0x4494('0xd')]);router['post']('/unhold',auth[_0x4494('0x5')](),auth[_0x4494('0x8')](),controller[_0x4494('0xe')]);router['post']('/calls',auth[_0x4494('0x5')](),auth[_0x4494('0x8')](),controller[_0x4494('0xf')]);router[_0x4494('0x3')](_0x4494('0x10'),auth[_0x4494('0x5')](),auth['canUpdate'](),controller[_0x4494('0x11')]);module[_0x4494('0x12')]=router;