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 _0x7c07=['./userProfileResource.controller','get','index','isAuthenticated','describe','show','post','delete','destroy','exports','multer','util','path','express','../../components/interaction/service','../../config/environment'];(function(_0x6dbcac,_0x261539){var _0x235a62=function(_0x436820){while(--_0x436820){_0x6dbcac['push'](_0x6dbcac['shift']());}};_0x235a62(++_0x261539);}(_0x7c07,0x15a));var _0x77c0=function(_0x102e37,_0x14a181){_0x102e37=_0x102e37-0x0;var _0x35a07c=_0x7c07[_0x102e37];return _0x35a07c;};'use strict';var multer=require(_0x77c0('0x0'));var util=require(_0x77c0('0x1'));var path=require(_0x77c0('0x2'));var timeout=require('connect-timeout');var express=require(_0x77c0('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x77c0('0x4'));var config=require(_0x77c0('0x5'));var controller=require(_0x77c0('0x6'));router[_0x77c0('0x7')]('/',auth['isAuthenticated'](),controller[_0x77c0('0x8')]);router[_0x77c0('0x7')]('/describe',auth[_0x77c0('0x9')](),controller[_0x77c0('0xa')]);router[_0x77c0('0x7')]('/:id',auth[_0x77c0('0x9')](),controller[_0x77c0('0xb')]);router[_0x77c0('0xc')]('/',auth[_0x77c0('0x9')](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x77c0('0xd')]('/:id',auth[_0x77c0('0x9')](),controller[_0x77c0('0xe')]);module[_0x77c0('0xf')]=router;