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