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 _0x2d6e=['../../components/interaction/service','./cmHopper.controller','get','index','/describe','describe','/opencontacts','isAuthenticated','getOpenContacts','getTimezones','/:id','show','create','post','/preview','getPreview','/timezone','getTimezone','/previewrecall','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service'];(function(_0x17f145,_0x3422bb){var _0x2d5420=function(_0x3eb38b){while(--_0x3eb38b){_0x17f145['push'](_0x17f145['shift']());}};_0x2d5420(++_0x3422bb);}(_0x2d6e,0x107));var _0xe2d6=function(_0x2b2997,_0x3deab6){_0x2b2997=_0x2b2997-0x0;var _0x37e1f2=_0x2d6e[_0x2b2997];return _0x37e1f2;};'use strict';var multer=require(_0xe2d6('0x0'));var util=require(_0xe2d6('0x1'));var path=require(_0xe2d6('0x2'));var timeout=require('connect-timeout');var express=require(_0xe2d6('0x3'));var router=express[_0xe2d6('0x4')]();var fs_extra=require(_0xe2d6('0x5'));var auth=require(_0xe2d6('0x6'));var interaction=require(_0xe2d6('0x7'));var config=require('../../config/environment');var controller=require(_0xe2d6('0x8'));router[_0xe2d6('0x9')]('/',auth['isAuthenticated'](),controller[_0xe2d6('0xa')]);router['get'](_0xe2d6('0xb'),auth['isAuthenticated'](),controller[_0xe2d6('0xc')]);router[_0xe2d6('0x9')](_0xe2d6('0xd'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0xf')]);router[_0xe2d6('0x9')]('/timezones',auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x10')]);router[_0xe2d6('0x9')](_0xe2d6('0x11'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x12')]);router['post']('/',auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x13')]);router[_0xe2d6('0x14')](_0xe2d6('0x15'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x16')]);router[_0xe2d6('0x14')](_0xe2d6('0x17'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x18')]);router['post'](_0xe2d6('0x19'),auth['isAuthenticated'](),controller['getPreviewRecall']);router[_0xe2d6('0x1a')](_0xe2d6('0x11'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x1b')]);router[_0xe2d6('0x1c')]('/:id',auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x1d')]);module['exports']=router;