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 _0xeda9=['describe','/:id','show','post','put','update','delete','destroy','multer','path','express','Router','fs-extra','../../components/auth/service','./userProfileSection.controller','get','isAuthenticated','index','/describe'];(function(_0x15ec51,_0x570fe0){var _0x3d9798=function(_0x5c3458){while(--_0x5c3458){_0x15ec51['push'](_0x15ec51['shift']());}};_0x3d9798(++_0x570fe0);}(_0xeda9,0x1e3));var _0x9eda=function(_0x3740fe,_0x6c543c){_0x3740fe=_0x3740fe-0x0;var _0x55492b=_0xeda9[_0x3740fe];return _0x55492b;};'use strict';var multer=require(_0x9eda('0x0'));var util=require('util');var path=require(_0x9eda('0x1'));var timeout=require('connect-timeout');var express=require(_0x9eda('0x2'));var router=express[_0x9eda('0x3')]();var fs_extra=require(_0x9eda('0x4'));var auth=require(_0x9eda('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x9eda('0x6'));router[_0x9eda('0x7')]('/',auth[_0x9eda('0x8')](),controller[_0x9eda('0x9')]);router[_0x9eda('0x7')](_0x9eda('0xa'),auth[_0x9eda('0x8')](),controller[_0x9eda('0xb')]);router[_0x9eda('0x7')](_0x9eda('0xc'),auth[_0x9eda('0x8')](),controller[_0x9eda('0xd')]);router[_0x9eda('0xe')]('/',auth[_0x9eda('0x8')](),controller['create']);router[_0x9eda('0xf')]('/:id',auth[_0x9eda('0x8')](),controller[_0x9eda('0x10')]);router[_0x9eda('0x11')](_0x9eda('0xc'),auth[_0x9eda('0x8')](),controller[_0x9eda('0x12')]);module['exports']=router;