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 _0x5c92=['destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','/:id','isAuthenticated','show','post','create','update','delete'];(function(_0x14376f,_0x1b7a52){var _0x43f44c=function(_0x21d954){while(--_0x21d954){_0x14376f['push'](_0x14376f['shift']());}};_0x43f44c(++_0x1b7a52);}(_0x5c92,0xfe));var _0x25c9=function(_0x17bb21,_0x369098){_0x17bb21=_0x17bb21-0x0;var _0x2956a6=_0x5c92[_0x17bb21];return _0x2956a6;};'use strict';var multer=require(_0x25c9('0x0'));var util=require(_0x25c9('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x25c9('0x2'));var router=express[_0x25c9('0x3')]();var fs_extra=require(_0x25c9('0x4'));var auth=require(_0x25c9('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x25c9('0x6'));var controller=require('./network.controller');router[_0x25c9('0x7')]('/',auth['isAuthenticated'](),controller[_0x25c9('0x8')]);router[_0x25c9('0x7')](_0x25c9('0x9'),auth[_0x25c9('0xa')](),controller[_0x25c9('0xb')]);router[_0x25c9('0xc')]('/',auth[_0x25c9('0xa')](),controller[_0x25c9('0xd')]);router['put'](_0x25c9('0x9'),auth[_0x25c9('0xa')](),controller[_0x25c9('0xe')]);router[_0x25c9('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x25c9('0x10')]);module[_0x25c9('0x11')]=router;