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 _0x1623=['exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','./network.controller','isAuthenticated','index','/:id','show','post','create','put','delete','destroy'];(function(_0x322522,_0x4db288){var _0x293bcf=function(_0xf108b8){while(--_0xf108b8){_0x322522['push'](_0x322522['shift']());}};_0x293bcf(++_0x4db288);}(_0x1623,0xab));var _0x3162=function(_0x2279b2,_0x3af8b7){_0x2279b2=_0x2279b2-0x0;var _0x5dcde0=_0x1623[_0x2279b2];return _0x5dcde0;};'use strict';var multer=require(_0x3162('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3162('0x1'));var express=require(_0x3162('0x2'));var router=express[_0x3162('0x3')]();var fs_extra=require(_0x3162('0x4'));var auth=require(_0x3162('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3162('0x6'));router['get']('/',auth[_0x3162('0x7')](),controller[_0x3162('0x8')]);router['get'](_0x3162('0x9'),auth[_0x3162('0x7')](),controller[_0x3162('0xa')]);router[_0x3162('0xb')]('/',auth[_0x3162('0x7')](),controller[_0x3162('0xc')]);router[_0x3162('0xd')](_0x3162('0x9'),auth['isAuthenticated'](),controller['update']);router[_0x3162('0xe')](_0x3162('0x9'),auth[_0x3162('0x7')](),controller[_0x3162('0xf')]);module[_0x3162('0x10')]=router;