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 _0x6539=['exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./userProfileSection.controller','get','index','/describe','isAuthenticated','/:id','post','create','delete'];(function(_0xaafd17,_0x463b9d){var _0x55d959=function(_0x1607ff){while(--_0x1607ff){_0xaafd17['push'](_0xaafd17['shift']());}};_0x55d959(++_0x463b9d);}(_0x6539,0x7f));var _0x9653=function(_0x45615f,_0x246f78){_0x45615f=_0x45615f-0x0;var _0xf9e835=_0x6539[_0x45615f];return _0xf9e835;};'use strict';var multer=require(_0x9653('0x0'));var util=require(_0x9653('0x1'));var path=require('path');var timeout=require(_0x9653('0x2'));var express=require(_0x9653('0x3'));var router=express[_0x9653('0x4')]();var fs_extra=require(_0x9653('0x5'));var auth=require(_0x9653('0x6'));var interaction=require(_0x9653('0x7'));var config=require('../../config/environment');var controller=require(_0x9653('0x8'));router[_0x9653('0x9')]('/',auth['isAuthenticated'](),controller[_0x9653('0xa')]);router['get'](_0x9653('0xb'),auth[_0x9653('0xc')](),controller['describe']);router[_0x9653('0x9')](_0x9653('0xd'),auth[_0x9653('0xc')](),controller['show']);router[_0x9653('0xe')]('/',auth[_0x9653('0xc')](),controller[_0x9653('0xf')]);router['put'](_0x9653('0xd'),auth[_0x9653('0xc')](),controller['update']);router[_0x9653('0x10')](_0x9653('0xd'),auth[_0x9653('0xc')](),controller['destroy']);module[_0x9653('0x11')]=router;