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