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 _0x4bac=['describe','/:id','isAuthenticated','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','index','/describe'];(function(_0x7fd23,_0x31fe71){var _0x5c7aa5=function(_0x31f8e3){while(--_0x31f8e3){_0x7fd23['push'](_0x7fd23['shift']());}};_0x5c7aa5(++_0x31fe71);}(_0x4bac,0x1ae));var _0xc4ba=function(_0x1e7e5d,_0x454447){_0x1e7e5d=_0x1e7e5d-0x0;var _0x440c35=_0x4bac[_0x1e7e5d];return _0x440c35;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc4ba('0x0'));var timeout=require(_0xc4ba('0x1'));var express=require(_0xc4ba('0x2'));var router=express['Router']();var fs_extra=require(_0xc4ba('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xc4ba('0x4'));var config=require(_0xc4ba('0x5'));var controller=require(_0xc4ba('0x6'));router[_0xc4ba('0x7')]('/',auth['isAuthenticated'](),controller[_0xc4ba('0x8')]);router[_0xc4ba('0x7')](_0xc4ba('0x9'),auth['isAuthenticated'](),controller[_0xc4ba('0xa')]);router[_0xc4ba('0x7')](_0xc4ba('0xb'),auth[_0xc4ba('0xc')](),controller['show']);router[_0xc4ba('0xd')]('/',auth[_0xc4ba('0xc')](),controller[_0xc4ba('0xe')]);router[_0xc4ba('0xf')](_0xc4ba('0xb'),auth[_0xc4ba('0xc')](),controller[_0xc4ba('0x10')]);router[_0xc4ba('0x11')]('/:id',auth[_0xc4ba('0xc')](),controller[_0xc4ba('0x12')]);module[_0xc4ba('0x13')]=router;