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