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 _0x91ca=['get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x3bfdde,_0x306be4){var _0x3f752a=function(_0x3b6751){while(--_0x3b6751){_0x3bfdde['push'](_0x3bfdde['shift']());}};_0x3f752a(++_0x306be4);}(_0x91ca,0x90));var _0xa91c=function(_0x3d2781,_0x4c8c02){_0x3d2781=_0x3d2781-0x0;var _0x3d71a8=_0x91ca[_0x3d2781];return _0x3d71a8;};'use strict';var multer=require('multer');var util=require(_0xa91c('0x0'));var path=require(_0xa91c('0x1'));var timeout=require(_0xa91c('0x2'));var express=require(_0xa91c('0x3'));var router=express[_0xa91c('0x4')]();var auth=require(_0xa91c('0x5'));var interaction=require(_0xa91c('0x6'));var config=require(_0xa91c('0x7'));var controller=require('./network.controller');router[_0xa91c('0x8')]('/',auth[_0xa91c('0x9')](),controller[_0xa91c('0xa')]);router[_0xa91c('0x8')](_0xa91c('0xb'),auth[_0xa91c('0x9')](),controller[_0xa91c('0xc')]);router[_0xa91c('0xd')]('/',auth[_0xa91c('0x9')](),controller[_0xa91c('0xe')]);router[_0xa91c('0xf')](_0xa91c('0xb'),auth[_0xa91c('0x9')](),controller['update']);router[_0xa91c('0x10')]('/:id',auth[_0xa91c('0x9')](),controller[_0xa91c('0x11')]);module[_0xa91c('0x12')]=router;