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