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