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 _0x93e6=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','describe','show','post','create','put','/:id','update','delete','destroy'];(function(_0x1db7f5,_0x1de5b9){var _0x1a22d6=function(_0xf05a1f){while(--_0xf05a1f){_0x1db7f5['push'](_0x1db7f5['shift']());}};_0x1a22d6(++_0x1de5b9);}(_0x93e6,0x1e4));var _0x693e=function(_0x8a900,_0x4f79e0){_0x8a900=_0x8a900-0x0;var _0x29e4ff=_0x93e6[_0x8a900];return _0x29e4ff;};'use strict';var multer=require(_0x693e('0x0'));var util=require(_0x693e('0x1'));var path=require(_0x693e('0x2'));var timeout=require(_0x693e('0x3'));var express=require(_0x693e('0x4'));var router=express[_0x693e('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x693e('0x6'));var interaction=require(_0x693e('0x7'));var config=require(_0x693e('0x8'));var controller=require('./userProfileSection.controller');router[_0x693e('0x9')]('/',auth[_0x693e('0xa')](),controller['index']);router[_0x693e('0x9')]('/describe',auth[_0x693e('0xa')](),controller[_0x693e('0xb')]);router[_0x693e('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x693e('0xc')]);router[_0x693e('0xd')]('/',auth[_0x693e('0xa')](),controller[_0x693e('0xe')]);router[_0x693e('0xf')](_0x693e('0x10'),auth[_0x693e('0xa')](),controller[_0x693e('0x11')]);router[_0x693e('0x12')](_0x693e('0x10'),auth[_0x693e('0xa')](),controller[_0x693e('0x13')]);module[_0x693e('0x14')]=router;