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 _0xec5e=['put','update','destroy','multer','path','express','fs-extra','../../components/auth/service','./userProfileSection.controller','get','isAuthenticated','/describe','/:id','post','create'];(function(_0x35fb56,_0x5dadff){var _0x2fd52c=function(_0x97bd3f){while(--_0x97bd3f){_0x35fb56['push'](_0x35fb56['shift']());}};_0x2fd52c(++_0x5dadff);}(_0xec5e,0x189));var _0xeec5=function(_0x2105ce,_0x247be1){_0x2105ce=_0x2105ce-0x0;var _0x2a8959=_0xec5e[_0x2105ce];return _0x2a8959;};'use strict';var multer=require(_0xeec5('0x0'));var util=require('util');var path=require(_0xeec5('0x1'));var timeout=require('connect-timeout');var express=require(_0xeec5('0x2'));var router=express['Router']();var fs_extra=require(_0xeec5('0x3'));var auth=require(_0xeec5('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xeec5('0x5'));router[_0xeec5('0x6')]('/',auth[_0xeec5('0x7')](),controller['index']);router[_0xeec5('0x6')](_0xeec5('0x8'),auth[_0xeec5('0x7')](),controller['describe']);router['get'](_0xeec5('0x9'),auth['isAuthenticated'](),controller['show']);router[_0xeec5('0xa')]('/',auth[_0xeec5('0x7')](),controller[_0xeec5('0xb')]);router[_0xeec5('0xc')](_0xeec5('0x9'),auth[_0xeec5('0x7')](),controller[_0xeec5('0xd')]);router['delete'](_0xeec5('0x9'),auth[_0xeec5('0x7')](),controller[_0xeec5('0xe')]);module['exports']=router;