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 _0xfc81=['get','isAuthenticated','index','/:id','show','post','create','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./pause.controller'];(function(_0x4c8e1d,_0x543ff0){var _0x59cffe=function(_0x5c6791){while(--_0x5c6791){_0x4c8e1d['push'](_0x4c8e1d['shift']());}};_0x59cffe(++_0x543ff0);}(_0xfc81,0x88));var _0x1fc8=function(_0x52e68e,_0x309912){_0x52e68e=_0x52e68e-0x0;var _0x3211a4=_0xfc81[_0x52e68e];return _0x3211a4;};'use strict';var multer=require('multer');var util=require(_0x1fc8('0x0'));var path=require(_0x1fc8('0x1'));var timeout=require(_0x1fc8('0x2'));var express=require(_0x1fc8('0x3'));var router=express[_0x1fc8('0x4')]();var fs_extra=require(_0x1fc8('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x1fc8('0x6'));var config=require('../../config/environment');var controller=require(_0x1fc8('0x7'));router[_0x1fc8('0x8')]('/',auth[_0x1fc8('0x9')](),controller[_0x1fc8('0xa')]);router[_0x1fc8('0x8')](_0x1fc8('0xb'),auth[_0x1fc8('0x9')](),controller[_0x1fc8('0xc')]);router[_0x1fc8('0xd')]('/',auth[_0x1fc8('0x9')](),controller[_0x1fc8('0xe')]);router['put']('/:id',auth[_0x1fc8('0x9')](),controller[_0x1fc8('0xf')]);router[_0x1fc8('0x10')](_0x1fc8('0xb'),auth[_0x1fc8('0x9')](),controller['destroy']);module[_0x1fc8('0x11')]=router;