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