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