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 _0x68a5=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','show','post','/:id','delete','destroy','exports','multer','path','connect-timeout'];(function(_0x3b07db,_0x4da958){var _0x585ee1=function(_0x5df07f){while(--_0x5df07f){_0x3b07db['push'](_0x3b07db['shift']());}};_0x585ee1(++_0x4da958);}(_0x68a5,0xfc));var _0x568a=function(_0x2c79ea,_0x5b0b4f){_0x2c79ea=_0x2c79ea-0x0;var _0x9ac050=_0x68a5[_0x2c79ea];return _0x9ac050;};'use strict';var multer=require(_0x568a('0x0'));var util=require('util');var path=require(_0x568a('0x1'));var timeout=require(_0x568a('0x2'));var express=require('express');var router=express[_0x568a('0x3')]();var auth=require(_0x568a('0x4'));var interaction=require(_0x568a('0x5'));var config=require(_0x568a('0x6'));var controller=require('./userProfileResource.controller');router[_0x568a('0x7')]('/',auth['isAuthenticated'](),controller[_0x568a('0x8')]);router[_0x568a('0x7')](_0x568a('0x9'),auth[_0x568a('0xa')](),controller['describe']);router[_0x568a('0x7')]('/:id',auth[_0x568a('0xa')](),controller[_0x568a('0xb')]);router[_0x568a('0xc')]('/',auth[_0x568a('0xa')](),controller['create']);router['put'](_0x568a('0xd'),auth[_0x568a('0xa')](),controller['update']);router[_0x568a('0xe')]('/:id',auth[_0x568a('0xa')](),controller[_0x568a('0xf')]);module[_0x568a('0x10')]=router;