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 _0x4e83=['fs-extra','get','isAuthenticated','/:id','post','create','update','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x377987,_0x56b904){var _0x55473a=function(_0x1376ff){while(--_0x1376ff){_0x377987['push'](_0x377987['shift']());}};_0x55473a(++_0x56b904);}(_0x4e83,0x1ae));var _0x34e8=function(_0xaca348,_0x4d3993){_0xaca348=_0xaca348-0x0;var _0x560057=_0x4e83[_0xaca348];return _0x560057;};'use strict';var multer=require(_0x34e8('0x0'));var util=require('util');var path=require(_0x34e8('0x1'));var timeout=require(_0x34e8('0x2'));var express=require(_0x34e8('0x3'));var router=express[_0x34e8('0x4')]();var fs_extra=require(_0x34e8('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./network.controller');router[_0x34e8('0x6')]('/',auth[_0x34e8('0x7')](),controller['index']);router[_0x34e8('0x6')](_0x34e8('0x8'),auth[_0x34e8('0x7')](),controller['show']);router[_0x34e8('0x9')]('/',auth[_0x34e8('0x7')](),controller[_0x34e8('0xa')]);router['put'](_0x34e8('0x8'),auth[_0x34e8('0x7')](),controller[_0x34e8('0xb')]);router[_0x34e8('0xc')](_0x34e8('0x8'),auth[_0x34e8('0x7')](),controller[_0x34e8('0xd')]);module[_0x34e8('0xe')]=router;