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 _0x6a39=['create','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x302943,_0x20a87a){var _0x21e758=function(_0x49836d){while(--_0x49836d){_0x302943['push'](_0x302943['shift']());}};_0x21e758(++_0x20a87a);}(_0x6a39,0x140));var _0x96a3=function(_0x598152,_0x4230ac){_0x598152=_0x598152-0x0;var _0x71af95=_0x6a39[_0x598152];return _0x71af95;};'use strict';var multer=require(_0x96a3('0x0'));var util=require(_0x96a3('0x1'));var path=require(_0x96a3('0x2'));var timeout=require(_0x96a3('0x3'));var express=require(_0x96a3('0x4'));var router=express[_0x96a3('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x96a3('0x6'));var config=require(_0x96a3('0x7'));var controller=require(_0x96a3('0x8'));router[_0x96a3('0x9')]('/',auth[_0x96a3('0xa')](),controller[_0x96a3('0xb')]);router[_0x96a3('0x9')](_0x96a3('0xc'),auth[_0x96a3('0xa')](),controller[_0x96a3('0xd')]);router['get'](_0x96a3('0xe'),auth[_0x96a3('0xa')](),controller[_0x96a3('0xf')]);router['post']('/',auth[_0x96a3('0xa')](),controller[_0x96a3('0x10')]);router[_0x96a3('0x11')](_0x96a3('0xe'),auth[_0x96a3('0xa')](),controller[_0x96a3('0x12')]);router[_0x96a3('0x13')](_0x96a3('0xe'),auth[_0x96a3('0xa')](),controller[_0x96a3('0x14')]);module['exports']=router;