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 _0xc132=['path','Router','fs-extra','../../components/interaction/service','./network.controller','get','isAuthenticated','/:id','post','create','put','update','delete','exports','multer','util'];(function(_0xabbd2f,_0x44d05a){var _0x34a040=function(_0x3736d9){while(--_0x3736d9){_0xabbd2f['push'](_0xabbd2f['shift']());}};_0x34a040(++_0x44d05a);}(_0xc132,0x11e));var _0x2c13=function(_0x3bbd75,_0x2b62fc){_0x3bbd75=_0x3bbd75-0x0;var _0x2892a0=_0xc132[_0x3bbd75];return _0x2892a0;};'use strict';var multer=require(_0x2c13('0x0'));var util=require(_0x2c13('0x1'));var path=require(_0x2c13('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2c13('0x3')]();var fs_extra=require(_0x2c13('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2c13('0x5'));var config=require('../../config/environment');var controller=require(_0x2c13('0x6'));router[_0x2c13('0x7')]('/',auth[_0x2c13('0x8')](),controller['index']);router[_0x2c13('0x7')](_0x2c13('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x2c13('0xa')]('/',auth[_0x2c13('0x8')](),controller[_0x2c13('0xb')]);router[_0x2c13('0xc')](_0x2c13('0x9'),auth[_0x2c13('0x8')](),controller[_0x2c13('0xd')]);router[_0x2c13('0xe')](_0x2c13('0x9'),auth['isAuthenticated'](),controller['destroy']);module[_0x2c13('0xf')]=router;