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 _0x61df=['describe','/:id','show','post','create','put','update','delete','destroy','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./userProfileSection.controller','get','isAuthenticated','index','/describe'];(function(_0x1af98d,_0x3c608e){var _0x3553ea=function(_0x5668a4){while(--_0x5668a4){_0x1af98d['push'](_0x1af98d['shift']());}};_0x3553ea(++_0x3c608e);}(_0x61df,0xbd));var _0xf61d=function(_0xdbb36,_0x22a38a){_0xdbb36=_0xdbb36-0x0;var _0x3acf7f=_0x61df[_0xdbb36];return _0x3acf7f;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xf61d('0x0'));var express=require(_0xf61d('0x1'));var router=express['Router']();var auth=require(_0xf61d('0x2'));var interaction=require(_0xf61d('0x3'));var config=require('../../config/environment');var controller=require(_0xf61d('0x4'));router[_0xf61d('0x5')]('/',auth[_0xf61d('0x6')](),controller[_0xf61d('0x7')]);router[_0xf61d('0x5')](_0xf61d('0x8'),auth['isAuthenticated'](),controller[_0xf61d('0x9')]);router['get'](_0xf61d('0xa'),auth[_0xf61d('0x6')](),controller[_0xf61d('0xb')]);router[_0xf61d('0xc')]('/',auth[_0xf61d('0x6')](),controller[_0xf61d('0xd')]);router[_0xf61d('0xe')](_0xf61d('0xa'),auth[_0xf61d('0x6')](),controller[_0xf61d('0xf')]);router[_0xf61d('0x10')](_0xf61d('0xa'),auth['isAuthenticated'](),controller[_0xf61d('0x11')]);module['exports']=router;