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 _0x758a=['connect-timeout','express','Router','./userProfileResource.controller','isAuthenticated','index','get','describe','/:id','show','post','create','update','destroy','exports','multer','util','path'];(function(_0x3e5086,_0x48f4a2){var _0xfeb102=function(_0x5a945f){while(--_0x5a945f){_0x3e5086['push'](_0x3e5086['shift']());}};_0xfeb102(++_0x48f4a2);}(_0x758a,0x1d1));var _0xa758=function(_0x4fea80,_0x16175c){_0x4fea80=_0x4fea80-0x0;var _0x297753=_0x758a[_0x4fea80];return _0x297753;};'use strict';var multer=require(_0xa758('0x0'));var util=require(_0xa758('0x1'));var path=require(_0xa758('0x2'));var timeout=require(_0xa758('0x3'));var express=require(_0xa758('0x4'));var router=express[_0xa758('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa758('0x6'));router['get']('/',auth[_0xa758('0x7')](),controller[_0xa758('0x8')]);router[_0xa758('0x9')]('/describe',auth['isAuthenticated'](),controller[_0xa758('0xa')]);router[_0xa758('0x9')](_0xa758('0xb'),auth[_0xa758('0x7')](),controller[_0xa758('0xc')]);router[_0xa758('0xd')]('/',auth['isAuthenticated'](),controller[_0xa758('0xe')]);router['put']('/:id',auth[_0xa758('0x7')](),controller[_0xa758('0xf')]);router['delete'](_0xa758('0xb'),auth[_0xa758('0x7')](),controller[_0xa758('0x10')]);module[_0xa758('0x11')]=router;