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 _0x3f91=['Router','../../components/auth/service','../../config/environment','get','index','isAuthenticated','post','create','put','/:id','update','delete','destroy','exports','multer','express'];(function(_0x31330c,_0x5dfce3){var _0x50472b=function(_0x50506e){while(--_0x50506e){_0x31330c['push'](_0x31330c['shift']());}};_0x50472b(++_0x5dfce3);}(_0x3f91,0x9e));var _0x13f9=function(_0xa148b7,_0x2f3eb2){_0xa148b7=_0xa148b7-0x0;var _0x51efd3=_0x3f91[_0xa148b7];return _0x51efd3;};'use strict';var multer=require(_0x13f9('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x13f9('0x1'));var router=express[_0x13f9('0x2')]();var auth=require(_0x13f9('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x13f9('0x4'));var controller=require('./pause.controller');router[_0x13f9('0x5')]('/',auth['isAuthenticated'](),controller[_0x13f9('0x6')]);router[_0x13f9('0x5')]('/:id',auth[_0x13f9('0x7')](),controller['show']);router[_0x13f9('0x8')]('/',auth[_0x13f9('0x7')](),controller[_0x13f9('0x9')]);router[_0x13f9('0xa')](_0x13f9('0xb'),auth[_0x13f9('0x7')](),controller[_0x13f9('0xc')]);router[_0x13f9('0xd')](_0x13f9('0xb'),auth[_0x13f9('0x7')](),controller[_0x13f9('0xe')]);module[_0x13f9('0xf')]=router;