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 _0x73ae=['exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./pause.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy'];(function(_0x44bcb0,_0x235aa9){var _0xfaf881=function(_0x25d81d){while(--_0x25d81d){_0x44bcb0['push'](_0x44bcb0['shift']());}};_0xfaf881(++_0x235aa9);}(_0x73ae,0xac));var _0xe73a=function(_0x342700,_0x569f75){_0x342700=_0x342700-0x0;var _0x53406f=_0x73ae[_0x342700];return _0x53406f;};'use strict';var multer=require(_0xe73a('0x0'));var util=require('util');var path=require(_0xe73a('0x1'));var timeout=require(_0xe73a('0x2'));var express=require(_0xe73a('0x3'));var router=express[_0xe73a('0x4')]();var auth=require(_0xe73a('0x5'));var interaction=require(_0xe73a('0x6'));var config=require('../../config/environment');var controller=require(_0xe73a('0x7'));router[_0xe73a('0x8')]('/',auth[_0xe73a('0x9')](),controller['index']);router['get'](_0xe73a('0xa'),auth['isAuthenticated'](),controller[_0xe73a('0xb')]);router[_0xe73a('0xc')]('/',auth['isAuthenticated'](),controller[_0xe73a('0xd')]);router[_0xe73a('0xe')](_0xe73a('0xa'),auth[_0xe73a('0x9')](),controller[_0xe73a('0xf')]);router[_0xe73a('0x10')]('/:id',auth[_0xe73a('0x9')](),controller[_0xe73a('0x11')]);module[_0xe73a('0x12')]=router;