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