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 _0x0a34=['../../config/environment','./userProfileSection.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','update','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x2ed7d1,_0x363741){var _0x38ae3c=function(_0x4a1b42){while(--_0x4a1b42){_0x2ed7d1['push'](_0x2ed7d1['shift']());}};_0x38ae3c(++_0x363741);}(_0x0a34,0x12a));var _0x40a3=function(_0x2261ce,_0x9ed8b6){_0x2261ce=_0x2261ce-0x0;var _0x524640=_0x0a34[_0x2261ce];return _0x524640;};'use strict';var multer=require(_0x40a3('0x0'));var util=require(_0x40a3('0x1'));var path=require('path');var timeout=require(_0x40a3('0x2'));var express=require(_0x40a3('0x3'));var router=express[_0x40a3('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x40a3('0x5'));var config=require(_0x40a3('0x6'));var controller=require(_0x40a3('0x7'));router['get']('/',auth[_0x40a3('0x8')](),controller[_0x40a3('0x9')]);router[_0x40a3('0xa')](_0x40a3('0xb'),auth[_0x40a3('0x8')](),controller[_0x40a3('0xc')]);router['get'](_0x40a3('0xd'),auth[_0x40a3('0x8')](),controller[_0x40a3('0xe')]);router[_0x40a3('0xf')]('/',auth[_0x40a3('0x8')](),controller[_0x40a3('0x10')]);router['put'](_0x40a3('0xd'),auth[_0x40a3('0x8')](),controller[_0x40a3('0x11')]);router['delete'](_0x40a3('0xd'),auth[_0x40a3('0x8')](),controller['destroy']);module[_0x40a3('0x12')]=router;