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 _0xbba1=['show','post','put','update','exports','multer','connect-timeout','express','../../components/auth/service','./network.controller','index','get','/:id','isAuthenticated'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbba1,0x17f));var _0x1bba=function(_0x4ab60b,_0x3a23ef){_0x4ab60b=_0x4ab60b-0x0;var _0x3204f0=_0xbba1[_0x4ab60b];return _0x3204f0;};'use strict';var multer=require(_0x1bba('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1bba('0x1'));var express=require(_0x1bba('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x1bba('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1bba('0x4'));router['get']('/',auth['isAuthenticated'](),controller[_0x1bba('0x5')]);router[_0x1bba('0x6')](_0x1bba('0x7'),auth[_0x1bba('0x8')](),controller[_0x1bba('0x9')]);router[_0x1bba('0xa')]('/',auth['isAuthenticated'](),controller['create']);router[_0x1bba('0xb')]('/:id',auth[_0x1bba('0x8')](),controller[_0x1bba('0xc')]);router['delete'](_0x1bba('0x7'),auth['isAuthenticated'](),controller['destroy']);module[_0x1bba('0xd')]=router;