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 _0xea70=['get','isAuthenticated','index','/describe','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service','../../config/environment','./userProfileSection.controller'];(function(_0x3349f2,_0x459713){var _0x43a704=function(_0x17de4b){while(--_0x17de4b){_0x3349f2['push'](_0x3349f2['shift']());}};_0x43a704(++_0x459713);}(_0xea70,0x175));var _0x0ea7=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xea70[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require(_0x0ea7('0x0'));var util=require(_0x0ea7('0x1'));var path=require(_0x0ea7('0x2'));var timeout=require('connect-timeout');var express=require(_0x0ea7('0x3'));var router=express['Router']();var auth=require(_0x0ea7('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x0ea7('0x5'));var controller=require(_0x0ea7('0x6'));router[_0x0ea7('0x7')]('/',auth[_0x0ea7('0x8')](),controller[_0x0ea7('0x9')]);router['get'](_0x0ea7('0xa'),auth[_0x0ea7('0x8')](),controller['describe']);router[_0x0ea7('0x7')](_0x0ea7('0xb'),auth['isAuthenticated'](),controller[_0x0ea7('0xc')]);router[_0x0ea7('0xd')]('/',auth[_0x0ea7('0x8')](),controller[_0x0ea7('0xe')]);router['put'](_0x0ea7('0xb'),auth[_0x0ea7('0x8')](),controller[_0x0ea7('0xf')]);router[_0x0ea7('0x10')](_0x0ea7('0xb'),auth['isAuthenticated'](),controller[_0x0ea7('0x11')]);module[_0x0ea7('0x12')]=router;