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