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 _0x5f71=['show','post','create','put','exports','multer','path','express','../../config/environment','./network.controller','isAuthenticated','index','get','/:id'];(function(_0x38cdf2,_0x56d63a){var _0x59fc04=function(_0x1a1c0d){while(--_0x1a1c0d){_0x38cdf2['push'](_0x38cdf2['shift']());}};_0x59fc04(++_0x56d63a);}(_0x5f71,0xc9));var _0x15f7=function(_0x476459,_0x309724){_0x476459=_0x476459-0x0;var _0x2f8994=_0x5f71[_0x476459];return _0x2f8994;};'use strict';var multer=require(_0x15f7('0x0'));var util=require('util');var path=require(_0x15f7('0x1'));var timeout=require('connect-timeout');var express=require(_0x15f7('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x15f7('0x3'));var controller=require(_0x15f7('0x4'));router['get']('/',auth[_0x15f7('0x5')](),controller[_0x15f7('0x6')]);router[_0x15f7('0x7')](_0x15f7('0x8'),auth[_0x15f7('0x5')](),controller[_0x15f7('0x9')]);router[_0x15f7('0xa')]('/',auth[_0x15f7('0x5')](),controller[_0x15f7('0xb')]);router[_0x15f7('0xc')](_0x15f7('0x8'),auth[_0x15f7('0x5')](),controller['update']);router['delete'](_0x15f7('0x8'),auth[_0x15f7('0x5')](),controller['destroy']);module[_0x15f7('0xd')]=router;