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