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 _0x53f8=['create','put','update','destroy','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','/describe','describe','/:id','show','post'];(function(_0x192d8c,_0x1a422e){var _0x4e2a26=function(_0x2640e4){while(--_0x2640e4){_0x192d8c['push'](_0x192d8c['shift']());}};_0x4e2a26(++_0x1a422e);}(_0x53f8,0x15a));var _0x853f=function(_0x288f5e,_0x205edd){_0x288f5e=_0x288f5e-0x0;var _0x476cc9=_0x53f8[_0x288f5e];return _0x476cc9;};'use strict';var multer=require('multer');var util=require(_0x853f('0x0'));var path=require(_0x853f('0x1'));var timeout=require('connect-timeout');var express=require(_0x853f('0x2'));var router=express[_0x853f('0x3')]();var auth=require(_0x853f('0x4'));var interaction=require(_0x853f('0x5'));var config=require(_0x853f('0x6'));var controller=require(_0x853f('0x7'));router[_0x853f('0x8')]('/',auth[_0x853f('0x9')](),controller['index']);router[_0x853f('0x8')](_0x853f('0xa'),auth['isAuthenticated'](),controller[_0x853f('0xb')]);router[_0x853f('0x8')](_0x853f('0xc'),auth[_0x853f('0x9')](),controller[_0x853f('0xd')]);router[_0x853f('0xe')]('/',auth[_0x853f('0x9')](),controller[_0x853f('0xf')]);router[_0x853f('0x10')]('/:id',auth[_0x853f('0x9')](),controller[_0x853f('0x11')]);router['delete']('/:id',auth[_0x853f('0x9')](),controller[_0x853f('0x12')]);module['exports']=router;