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