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