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 _0x677c=['/:id','delete','destroy','exports','multer','util','path','express','Router','fs-extra','./userProfileResource.controller','isAuthenticated','index','get','/describe','describe','show','post','create'];(function(_0x6387ab,_0x423fad){var _0x1f55ed=function(_0x511d9f){while(--_0x511d9f){_0x6387ab['push'](_0x6387ab['shift']());}};_0x1f55ed(++_0x423fad);}(_0x677c,0x10e));var _0xc677=function(_0x25cfbb,_0x8ebccc){_0x25cfbb=_0x25cfbb-0x0;var _0x495876=_0x677c[_0x25cfbb];return _0x495876;};'use strict';var multer=require(_0xc677('0x0'));var util=require(_0xc677('0x1'));var path=require(_0xc677('0x2'));var timeout=require('connect-timeout');var express=require(_0xc677('0x3'));var router=express[_0xc677('0x4')]();var fs_extra=require(_0xc677('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc677('0x6'));router['get']('/',auth[_0xc677('0x7')](),controller[_0xc677('0x8')]);router[_0xc677('0x9')](_0xc677('0xa'),auth['isAuthenticated'](),controller[_0xc677('0xb')]);router[_0xc677('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xc677('0xc')]);router[_0xc677('0xd')]('/',auth['isAuthenticated'](),controller[_0xc677('0xe')]);router['put'](_0xc677('0xf'),auth[_0xc677('0x7')](),controller['update']);router[_0xc677('0x10')](_0xc677('0xf'),auth[_0xc677('0x7')](),controller[_0xc677('0x11')]);module[_0xc677('0x12')]=router;