Built motion from commit (unavailable).|2.5.7
[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 _0x217a=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','index','isAuthenticated','describe','/:id','put','update','delete','exports','multer','util','path','express'];(function(_0xafc18b,_0x2071ab){var _0x53ec12=function(_0x430ca7){while(--_0x430ca7){_0xafc18b['push'](_0xafc18b['shift']());}};_0x53ec12(++_0x2071ab);}(_0x217a,0x1ac));var _0xa217=function(_0x22ee11,_0x128ff5){_0x22ee11=_0x22ee11-0x0;var _0xa63d3=_0x217a[_0x22ee11];return _0xa63d3;};'use strict';var multer=require(_0xa217('0x0'));var util=require(_0xa217('0x1'));var path=require(_0xa217('0x2'));var timeout=require('connect-timeout');var express=require(_0xa217('0x3'));var router=express[_0xa217('0x4')]();var auth=require(_0xa217('0x5'));var interaction=require(_0xa217('0x6'));var config=require(_0xa217('0x7'));var controller=require(_0xa217('0x8'));router[_0xa217('0x9')]('/',auth['isAuthenticated'](),controller[_0xa217('0xa')]);router[_0xa217('0x9')]('/describe',auth[_0xa217('0xb')](),controller[_0xa217('0xc')]);router[_0xa217('0x9')](_0xa217('0xd'),auth[_0xa217('0xb')](),controller['show']);router['post']('/',auth[_0xa217('0xb')](),controller['create']);router[_0xa217('0xe')](_0xa217('0xd'),auth[_0xa217('0xb')](),controller[_0xa217('0xf')]);router[_0xa217('0x10')]('/:id',auth[_0xa217('0xb')](),controller['destroy']);module[_0xa217('0x11')]=router;