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 _0x7e88=['delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update'];(function(_0x23e12b,_0x23ef2f){var _0x1a1866=function(_0x364bbd){while(--_0x364bbd){_0x23e12b['push'](_0x23e12b['shift']());}};_0x1a1866(++_0x23ef2f);}(_0x7e88,0x81));var _0x87e8=function(_0x4cb524,_0x4d928b){_0x4cb524=_0x4cb524-0x0;var _0x15b076=_0x7e88[_0x4cb524];return _0x15b076;};'use strict';var multer=require(_0x87e8('0x0'));var util=require('util');var path=require(_0x87e8('0x1'));var timeout=require(_0x87e8('0x2'));var express=require(_0x87e8('0x3'));var router=express['Router']();var auth=require(_0x87e8('0x4'));var interaction=require(_0x87e8('0x5'));var config=require(_0x87e8('0x6'));var controller=require('./userProfileResource.controller');router[_0x87e8('0x7')]('/',auth[_0x87e8('0x8')](),controller[_0x87e8('0x9')]);router[_0x87e8('0x7')](_0x87e8('0xa'),auth[_0x87e8('0x8')](),controller[_0x87e8('0xb')]);router[_0x87e8('0x7')]('/:id',auth[_0x87e8('0x8')](),controller[_0x87e8('0xc')]);router[_0x87e8('0xd')]('/',auth['isAuthenticated'](),controller[_0x87e8('0xe')]);router[_0x87e8('0xf')](_0x87e8('0x10'),auth[_0x87e8('0x8')](),controller[_0x87e8('0x11')]);router[_0x87e8('0x12')](_0x87e8('0x10'),auth['isAuthenticated'](),controller[_0x87e8('0x13')]);module[_0x87e8('0x14')]=router;