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 _0x815b=['put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','./network.controller','get','isAuthenticated','/:id','show','create'];(function(_0x12517f,_0x321853){var _0x3846da=function(_0x40629f){while(--_0x40629f){_0x12517f['push'](_0x12517f['shift']());}};_0x3846da(++_0x321853);}(_0x815b,0xb4));var _0xb815=function(_0x211336,_0x2ba480){_0x211336=_0x211336-0x0;var _0x16c493=_0x815b[_0x211336];return _0x16c493;};'use strict';var multer=require(_0xb815('0x0'));var util=require(_0xb815('0x1'));var path=require(_0xb815('0x2'));var timeout=require(_0xb815('0x3'));var express=require(_0xb815('0x4'));var router=express['Router']();var auth=require(_0xb815('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb815('0x6'));router[_0xb815('0x7')]('/',auth[_0xb815('0x8')](),controller['index']);router[_0xb815('0x7')](_0xb815('0x9'),auth['isAuthenticated'](),controller[_0xb815('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0xb815('0xb')]);router[_0xb815('0xc')](_0xb815('0x9'),auth[_0xb815('0x8')](),controller[_0xb815('0xd')]);router[_0xb815('0xe')](_0xb815('0x9'),auth[_0xb815('0x8')](),controller['destroy']);module[_0xb815('0xf')]=router;