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