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