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