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 _0x199c=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','path','connect-timeout','express'];(function(_0x1fd04e,_0x1421d7){var _0x3c05bb=function(_0xde698b){while(--_0xde698b){_0x1fd04e['push'](_0x1fd04e['shift']());}};_0x3c05bb(++_0x1421d7);}(_0x199c,0x1d8));var _0xc199=function(_0x110bb7,_0x56c479){_0x110bb7=_0x110bb7-0x0;var _0x1e6ac2=_0x199c[_0x110bb7];return _0x1e6ac2;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc199('0x0'));var timeout=require(_0xc199('0x1'));var express=require(_0xc199('0x2'));var router=express[_0xc199('0x3')]();var fs_extra=require(_0xc199('0x4'));var auth=require(_0xc199('0x5'));var interaction=require(_0xc199('0x6'));var config=require(_0xc199('0x7'));var controller=require('./network.controller');router[_0xc199('0x8')]('/',auth[_0xc199('0x9')](),controller['index']);router['get'](_0xc199('0xa'),auth[_0xc199('0x9')](),controller[_0xc199('0xb')]);router[_0xc199('0xc')]('/',auth[_0xc199('0x9')](),controller[_0xc199('0xd')]);router[_0xc199('0xe')](_0xc199('0xa'),auth['isAuthenticated'](),controller[_0xc199('0xf')]);router[_0xc199('0x10')](_0xc199('0xa'),auth[_0xc199('0x9')](),controller[_0xc199('0x11')]);module[_0xc199('0x12')]=router;