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