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 _0xeff8=['update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe','describe','show','post','create','put','/:id'];(function(_0x114984,_0x5c9593){var _0x44822b=function(_0x10af37){while(--_0x10af37){_0x114984['push'](_0x114984['shift']());}};_0x44822b(++_0x5c9593);}(_0xeff8,0x75));var _0x8eff=function(_0x3a7a9c,_0x24f7d6){_0x3a7a9c=_0x3a7a9c-0x0;var _0x59156e=_0xeff8[_0x3a7a9c];return _0x59156e;};'use strict';var multer=require(_0x8eff('0x0'));var util=require(_0x8eff('0x1'));var path=require(_0x8eff('0x2'));var timeout=require('connect-timeout');var express=require(_0x8eff('0x3'));var router=express[_0x8eff('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x8eff('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8eff('0x6'));var controller=require('./userProfileSection.controller');router[_0x8eff('0x7')]('/',auth[_0x8eff('0x8')](),controller['index']);router[_0x8eff('0x7')](_0x8eff('0x9'),auth[_0x8eff('0x8')](),controller[_0x8eff('0xa')]);router[_0x8eff('0x7')]('/:id',auth[_0x8eff('0x8')](),controller[_0x8eff('0xb')]);router[_0x8eff('0xc')]('/',auth[_0x8eff('0x8')](),controller[_0x8eff('0xd')]);router[_0x8eff('0xe')](_0x8eff('0xf'),auth[_0x8eff('0x8')](),controller[_0x8eff('0x10')]);router['delete'](_0x8eff('0xf'),auth[_0x8eff('0x8')](),controller[_0x8eff('0x11')]);module[_0x8eff('0x12')]=router;