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 _0xf9ec=['./userProfileSection.controller','isAuthenticated','get','/describe','describe','create','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xf9ec,0x128));var _0xcf9e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf9ec[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xcf9e('0x0'));var util=require(_0xcf9e('0x1'));var path=require(_0xcf9e('0x2'));var timeout=require(_0xcf9e('0x3'));var express=require(_0xcf9e('0x4'));var router=express[_0xcf9e('0x5')]();var auth=require(_0xcf9e('0x6'));var interaction=require(_0xcf9e('0x7'));var config=require('../../config/environment');var controller=require(_0xcf9e('0x8'));router['get']('/',auth[_0xcf9e('0x9')](),controller['index']);router[_0xcf9e('0xa')](_0xcf9e('0xb'),auth[_0xcf9e('0x9')](),controller[_0xcf9e('0xc')]);router[_0xcf9e('0xa')]('/:id',auth[_0xcf9e('0x9')](),controller['show']);router['post']('/',auth[_0xcf9e('0x9')](),controller[_0xcf9e('0xd')]);router['put'](_0xcf9e('0xe'),auth[_0xcf9e('0x9')](),controller[_0xcf9e('0xf')]);router[_0xcf9e('0x10')](_0xcf9e('0xe'),auth[_0xcf9e('0x9')](),controller[_0xcf9e('0x11')]);module[_0xcf9e('0x12')]=router;