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 _0xf165=['create','put','update','delete','exports','multer','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','show','post'];(function(_0x464251,_0x41951f){var _0x47b041=function(_0x425376){while(--_0x425376){_0x464251['push'](_0x464251['shift']());}};_0x47b041(++_0x41951f);}(_0xf165,0x9e));var _0x5f16=function(_0x2aff37,_0x143fc4){_0x2aff37=_0x2aff37-0x0;var _0x13f807=_0xf165[_0x2aff37];return _0x13f807;};'use strict';var multer=require(_0x5f16('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x5f16('0x1'));var express=require(_0x5f16('0x2'));var router=express[_0x5f16('0x3')]();var fs_extra=require(_0x5f16('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x5f16('0x5'));var config=require(_0x5f16('0x6'));var controller=require('./pause.controller');router[_0x5f16('0x7')]('/',auth['isAuthenticated'](),controller[_0x5f16('0x8')]);router[_0x5f16('0x7')]('/:id',auth[_0x5f16('0x9')](),controller[_0x5f16('0xa')]);router[_0x5f16('0xb')]('/',auth['isAuthenticated'](),controller[_0x5f16('0xc')]);router[_0x5f16('0xd')]('/:id',auth[_0x5f16('0x9')](),controller[_0x5f16('0xe')]);router[_0x5f16('0xf')]('/:id',auth[_0x5f16('0x9')](),controller['destroy']);module[_0x5f16('0x10')]=router;