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 _0xc8c5=['delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./pause.controller','get','isAuthenticated','/:id','post','create','put','update'];(function(_0x51c49d,_0x5e69cf){var _0x35bf31=function(_0x2ab1c3){while(--_0x2ab1c3){_0x51c49d['push'](_0x51c49d['shift']());}};_0x35bf31(++_0x5e69cf);}(_0xc8c5,0x120));var _0x5c8c=function(_0x58da8d,_0x462e9d){_0x58da8d=_0x58da8d-0x0;var _0x549771=_0xc8c5[_0x58da8d];return _0x549771;};'use strict';var multer=require(_0x5c8c('0x0'));var util=require(_0x5c8c('0x1'));var path=require(_0x5c8c('0x2'));var timeout=require(_0x5c8c('0x3'));var express=require(_0x5c8c('0x4'));var router=express[_0x5c8c('0x5')]();var auth=require(_0x5c8c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5c8c('0x7'));var controller=require(_0x5c8c('0x8'));router[_0x5c8c('0x9')]('/',auth[_0x5c8c('0xa')](),controller['index']);router[_0x5c8c('0x9')](_0x5c8c('0xb'),auth[_0x5c8c('0xa')](),controller['show']);router[_0x5c8c('0xc')]('/',auth[_0x5c8c('0xa')](),controller[_0x5c8c('0xd')]);router[_0x5c8c('0xe')](_0x5c8c('0xb'),auth['isAuthenticated'](),controller[_0x5c8c('0xf')]);router[_0x5c8c('0x10')](_0x5c8c('0xb'),auth[_0x5c8c('0xa')](),controller[_0x5c8c('0x11')]);module[_0x5c8c('0x12')]=router;