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 _0xd86a=['/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./pause.controller','get','index'];(function(_0x1d972a,_0x38f777){var _0x8c3651=function(_0x2f98b5){while(--_0x2f98b5){_0x1d972a['push'](_0x1d972a['shift']());}};_0x8c3651(++_0x38f777);}(_0xd86a,0xd1));var _0xad86=function(_0x2d6197,_0x82ebfb){_0x2d6197=_0x2d6197-0x0;var _0x4d0e75=_0xd86a[_0x2d6197];return _0x4d0e75;};'use strict';var multer=require(_0xad86('0x0'));var util=require(_0xad86('0x1'));var path=require(_0xad86('0x2'));var timeout=require('connect-timeout');var express=require(_0xad86('0x3'));var router=express[_0xad86('0x4')]();var fs_extra=require(_0xad86('0x5'));var auth=require(_0xad86('0x6'));var interaction=require(_0xad86('0x7'));var config=require('../../config/environment');var controller=require(_0xad86('0x8'));router[_0xad86('0x9')]('/',auth['isAuthenticated'](),controller[_0xad86('0xa')]);router[_0xad86('0x9')](_0xad86('0xb'),auth[_0xad86('0xc')](),controller[_0xad86('0xd')]);router[_0xad86('0xe')]('/',auth[_0xad86('0xc')](),controller[_0xad86('0xf')]);router[_0xad86('0x10')](_0xad86('0xb'),auth['isAuthenticated'](),controller['update']);router[_0xad86('0x11')]('/:id',auth[_0xad86('0xc')](),controller[_0xad86('0x12')]);module[_0xad86('0x13')]=router;