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 _0x2fbc=['get','index','describe','isAuthenticated','show','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','./userProfileSection.controller'];(function(_0x117502,_0x32c17c){var _0x398dc4=function(_0x59180){while(--_0x59180){_0x117502['push'](_0x117502['shift']());}};_0x398dc4(++_0x32c17c);}(_0x2fbc,0x106));var _0xc2fb=function(_0x947959,_0xe60e92){_0x947959=_0x947959-0x0;var _0xf2b815=_0x2fbc[_0x947959];return _0xf2b815;};'use strict';var multer=require(_0xc2fb('0x0'));var util=require(_0xc2fb('0x1'));var path=require(_0xc2fb('0x2'));var timeout=require(_0xc2fb('0x3'));var express=require(_0xc2fb('0x4'));var router=express[_0xc2fb('0x5')]();var auth=require(_0xc2fb('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc2fb('0x7'));router[_0xc2fb('0x8')]('/',auth['isAuthenticated'](),controller[_0xc2fb('0x9')]);router[_0xc2fb('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xc2fb('0xa')]);router[_0xc2fb('0x8')]('/:id',auth[_0xc2fb('0xb')](),controller[_0xc2fb('0xc')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['put'](_0xc2fb('0xd'),auth[_0xc2fb('0xb')](),controller[_0xc2fb('0xe')]);router[_0xc2fb('0xf')]('/:id',auth[_0xc2fb('0xb')](),controller[_0xc2fb('0x10')]);module[_0xc2fb('0x11')]=router;