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 _0xf0db=['util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','update','delete','destroy','exports','multer'];(function(_0x20b6ed,_0x50b53e){var _0x50df35=function(_0x2940c5){while(--_0x2940c5){_0x20b6ed['push'](_0x20b6ed['shift']());}};_0x50df35(++_0x50b53e);}(_0xf0db,0x12b));var _0xbf0d=function(_0xa49752,_0x20bbc8){_0xa49752=_0xa49752-0x0;var _0x1fe93c=_0xf0db[_0xa49752];return _0x1fe93c;};'use strict';var multer=require(_0xbf0d('0x0'));var util=require(_0xbf0d('0x1'));var path=require('path');var timeout=require(_0xbf0d('0x2'));var express=require(_0xbf0d('0x3'));var router=express[_0xbf0d('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xbf0d('0x5'));var config=require(_0xbf0d('0x6'));var controller=require('./userProfileSection.controller');router['get']('/',auth[_0xbf0d('0x7')](),controller[_0xbf0d('0x8')]);router[_0xbf0d('0x9')](_0xbf0d('0xa'),auth['isAuthenticated'](),controller[_0xbf0d('0xb')]);router[_0xbf0d('0x9')](_0xbf0d('0xc'),auth[_0xbf0d('0x7')](),controller[_0xbf0d('0xd')]);router[_0xbf0d('0xe')]('/',auth[_0xbf0d('0x7')](),controller[_0xbf0d('0xf')]);router['put']('/:id',auth[_0xbf0d('0x7')](),controller[_0xbf0d('0x10')]);router[_0xbf0d('0x11')](_0xbf0d('0xc'),auth[_0xbf0d('0x7')](),controller[_0xbf0d('0x12')]);module[_0xbf0d('0x13')]=router;