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