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