Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / userProfileSection / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc938=['../../components/interaction/service','./userProfileSection.controller','get','index','isAuthenticated','describe','/:id','post','create','put','update','delete','destroy','exports','util','path','express','Router','fs-extra'];(function(_0x269476,_0x268e4e){var _0x880721=function(_0x22b9d6){while(--_0x22b9d6){_0x269476['push'](_0x269476['shift']());}};_0x880721(++_0x268e4e);}(_0xc938,0x6d));var _0x8c93=function(_0x458140,_0x20964a){_0x458140=_0x458140-0x0;var _0x5e4ba1=_0xc938[_0x458140];return _0x5e4ba1;};'use strict';var multer=require('multer');var util=require(_0x8c93('0x0'));var path=require(_0x8c93('0x1'));var timeout=require('connect-timeout');var express=require(_0x8c93('0x2'));var router=express[_0x8c93('0x3')]();var fs_extra=require(_0x8c93('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x8c93('0x5'));var config=require('../../config/environment');var controller=require(_0x8c93('0x6'));router[_0x8c93('0x7')]('/',auth['isAuthenticated'](),controller[_0x8c93('0x8')]);router[_0x8c93('0x7')]('/describe',auth[_0x8c93('0x9')](),controller[_0x8c93('0xa')]);router['get'](_0x8c93('0xb'),auth[_0x8c93('0x9')](),controller['show']);router[_0x8c93('0xc')]('/',auth[_0x8c93('0x9')](),controller[_0x8c93('0xd')]);router[_0x8c93('0xe')](_0x8c93('0xb'),auth[_0x8c93('0x9')](),controller[_0x8c93('0xf')]);router[_0x8c93('0x10')](_0x8c93('0xb'),auth['isAuthenticated'](),controller[_0x8c93('0x11')]);module[_0x8c93('0x12')]=router;