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 _0x80c1=['express','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get','/:id','show','post','create','put','update','delete','multer','connect-timeout'];(function(_0x3c8098,_0x14d989){var _0x123130=function(_0x560192){while(--_0x560192){_0x3c8098['push'](_0x3c8098['shift']());}};_0x123130(++_0x14d989);}(_0x80c1,0x1ae));var _0x180c=function(_0x261c7d,_0x2c6455){_0x261c7d=_0x261c7d-0x0;var _0x658b60=_0x80c1[_0x261c7d];return _0x658b60;};'use strict';var multer=require(_0x180c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x180c('0x1'));var express=require(_0x180c('0x2'));var router=express[_0x180c('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x180c('0x4'));var interaction=require(_0x180c('0x5'));var config=require('../../config/environment');var controller=require('./pause.controller');router['get']('/',auth[_0x180c('0x6')](),controller[_0x180c('0x7')]);router[_0x180c('0x8')](_0x180c('0x9'),auth[_0x180c('0x6')](),controller[_0x180c('0xa')]);router[_0x180c('0xb')]('/',auth[_0x180c('0x6')](),controller[_0x180c('0xc')]);router[_0x180c('0xd')](_0x180c('0x9'),auth['isAuthenticated'](),controller[_0x180c('0xe')]);router[_0x180c('0xf')]('/:id',auth[_0x180c('0x6')](),controller['destroy']);module['exports']=router;