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 _0xf041=['/:id','show','post','create','update','delete','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x4db17c,_0x4ff943){var _0x137377=function(_0x538ae4){while(--_0x538ae4){_0x4db17c['push'](_0x4db17c['shift']());}};_0x137377(++_0x4ff943);}(_0xf041,0x16b));var _0x1f04=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xf041[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0x1f04('0x0'));var util=require('util');var path=require(_0x1f04('0x1'));var timeout=require(_0x1f04('0x2'));var express=require(_0x1f04('0x3'));var router=express[_0x1f04('0x4')]();var fs_extra=require(_0x1f04('0x5'));var auth=require(_0x1f04('0x6'));var interaction=require(_0x1f04('0x7'));var config=require(_0x1f04('0x8'));var controller=require(_0x1f04('0x9'));router[_0x1f04('0xa')]('/',auth[_0x1f04('0xb')](),controller[_0x1f04('0xc')]);router[_0x1f04('0xa')](_0x1f04('0xd'),auth[_0x1f04('0xb')](),controller[_0x1f04('0xe')]);router['get'](_0x1f04('0xf'),auth[_0x1f04('0xb')](),controller[_0x1f04('0x10')]);router[_0x1f04('0x11')]('/',auth[_0x1f04('0xb')](),controller[_0x1f04('0x12')]);router['put'](_0x1f04('0xf'),auth[_0x1f04('0xb')](),controller[_0x1f04('0x13')]);router[_0x1f04('0x14')](_0x1f04('0xf'),auth[_0x1f04('0xb')](),controller['destroy']);module['exports']=router;