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 _0x131b=['create','post','/preview','getPreview','getTimezone','put','delete','destroy','exports','express','Router','../../components/auth/service','./cmHopper.controller','isAuthenticated','index','get','/describe','/opencontacts','getOpenContacts','/timezones','getTimezones','/:id','show','/:id/previewrecall','getPreviewRecall'];(function(_0x486008,_0x2b2d05){var _0x2fefc7=function(_0x4177fe){while(--_0x4177fe){_0x486008['push'](_0x486008['shift']());}};_0x2fefc7(++_0x2b2d05);}(_0x131b,0x199));var _0xb131=function(_0x60581d,_0xa3e313){_0x60581d=_0x60581d-0x0;var _0x43dd38=_0x131b[_0x60581d];return _0x43dd38;};'use strict';var express=require(_0xb131('0x0'));var router=express[_0xb131('0x1')]();var auth=require(_0xb131('0x2'));var controller=require(_0xb131('0x3'));router['get']('/',auth[_0xb131('0x4')](),controller[_0xb131('0x5')]);router[_0xb131('0x6')](_0xb131('0x7'),auth[_0xb131('0x4')](),controller['describe']);router[_0xb131('0x6')](_0xb131('0x8'),auth['isAuthenticated'](),controller[_0xb131('0x9')]);router[_0xb131('0x6')](_0xb131('0xa'),auth[_0xb131('0x4')](),controller[_0xb131('0xb')]);router[_0xb131('0x6')](_0xb131('0xc'),auth[_0xb131('0x4')](),controller[_0xb131('0xd')]);router[_0xb131('0x6')](_0xb131('0xe'),auth[_0xb131('0x4')](),controller[_0xb131('0xf')]);router['post']('/',auth[_0xb131('0x4')](),controller[_0xb131('0x10')]);router[_0xb131('0x11')](_0xb131('0x12'),auth[_0xb131('0x4')](),controller[_0xb131('0x13')]);router['post']('/timezone',auth[_0xb131('0x4')](),controller[_0xb131('0x14')]);router[_0xb131('0x15')]('/:id',auth[_0xb131('0x4')](),controller['update']);router[_0xb131('0x16')](_0xb131('0xc'),auth[_0xb131('0x4')](),controller[_0xb131('0x17')]);module[_0xb131('0x18')]=router;