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