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 _0x80fb=['post','create','put','update','delete','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','isAuthenticated','/describe','describe','/:id','show'];(function(_0x305071,_0x2ed7f4){var _0x10a310=function(_0x3ea36b){while(--_0x3ea36b){_0x305071['push'](_0x305071['shift']());}};_0x10a310(++_0x2ed7f4);}(_0x80fb,0x11e));var _0xb80f=function(_0x49ca18,_0x5e6d05){_0x49ca18=_0x49ca18-0x0;var _0x145d54=_0x80fb[_0x49ca18];return _0x145d54;};'use strict';var multer=require('multer');var util=require(_0xb80f('0x0'));var path=require(_0xb80f('0x1'));var timeout=require('connect-timeout');var express=require(_0xb80f('0x2'));var router=express[_0xb80f('0x3')]();var auth=require(_0xb80f('0x4'));var interaction=require(_0xb80f('0x5'));var config=require(_0xb80f('0x6'));var controller=require(_0xb80f('0x7'));router[_0xb80f('0x8')]('/',auth[_0xb80f('0x9')](),controller['index']);router[_0xb80f('0x8')](_0xb80f('0xa'),auth[_0xb80f('0x9')](),controller[_0xb80f('0xb')]);router[_0xb80f('0x8')](_0xb80f('0xc'),auth[_0xb80f('0x9')](),controller[_0xb80f('0xd')]);router[_0xb80f('0xe')]('/',auth[_0xb80f('0x9')](),controller[_0xb80f('0xf')]);router[_0xb80f('0x10')](_0xb80f('0xc'),auth[_0xb80f('0x9')](),controller[_0xb80f('0x11')]);router[_0xb80f('0x12')]('/:id',auth[_0xb80f('0x9')](),controller['destroy']);module[_0xb80f('0x13')]=router;