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