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 _0xa326=['isAuthenticated','/opencontacts','getOpenContacts','/timezones','getTimezones','/:id','show','/:id/previewrecall','getPreviewRecall','post','create','/preview','getPreview','/timezone','getTimezone','update','delete','destroy','express','Router','../../components/auth/service','./cmHopper.controller','get'];(function(_0x538016,_0x3e0520){var _0x7e3ee8=function(_0x36698b){while(--_0x36698b){_0x538016['push'](_0x538016['shift']());}};_0x7e3ee8(++_0x3e0520);}(_0xa326,0xf8));var _0x6a32=function(_0x265abe,_0x2f8efa){_0x265abe=_0x265abe-0x0;var _0x32313a=_0xa326[_0x265abe];return _0x32313a;};'use strict';var express=require(_0x6a32('0x0'));var router=express[_0x6a32('0x1')]();var auth=require(_0x6a32('0x2'));var controller=require(_0x6a32('0x3'));router[_0x6a32('0x4')]('/',auth[_0x6a32('0x5')](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x6a32('0x4')](_0x6a32('0x6'),auth[_0x6a32('0x5')](),controller[_0x6a32('0x7')]);router[_0x6a32('0x4')](_0x6a32('0x8'),auth[_0x6a32('0x5')](),controller[_0x6a32('0x9')]);router[_0x6a32('0x4')](_0x6a32('0xa'),auth[_0x6a32('0x5')](),controller[_0x6a32('0xb')]);router[_0x6a32('0x4')](_0x6a32('0xc'),auth['isAuthenticated'](),controller[_0x6a32('0xd')]);router[_0x6a32('0xe')]('/',auth[_0x6a32('0x5')](),controller[_0x6a32('0xf')]);router[_0x6a32('0xe')](_0x6a32('0x10'),auth['isAuthenticated'](),controller[_0x6a32('0x11')]);router[_0x6a32('0xe')](_0x6a32('0x12'),auth[_0x6a32('0x5')](),controller[_0x6a32('0x13')]);router['put']('/:id',auth[_0x6a32('0x5')](),controller[_0x6a32('0x14')]);router[_0x6a32('0x15')](_0x6a32('0xa'),auth[_0x6a32('0x5')](),controller[_0x6a32('0x16')]);module['exports']=router;