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