Built motion from commit (unavailable).|2.5.20
[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 _0xc5dd=['/:id','show','post','create','put','update','delete','destroy','multer','util','Router','../../components/auth/service','./userProfileSection.controller','isAuthenticated','index','get','/describe','describe'];(function(_0x725b8e,_0xc22b48){var _0x43ac45=function(_0x46bb4a){while(--_0x46bb4a){_0x725b8e['push'](_0x725b8e['shift']());}};_0x43ac45(++_0xc22b48);}(_0xc5dd,0x170));var _0xdc5d=function(_0x94c044,_0x119fd7){_0x94c044=_0x94c044-0x0;var _0x323302=_0xc5dd[_0x94c044];return _0x323302;};'use strict';var multer=require(_0xdc5d('0x0'));var util=require(_0xdc5d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xdc5d('0x2')]();var auth=require(_0xdc5d('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdc5d('0x4'));router['get']('/',auth[_0xdc5d('0x5')](),controller[_0xdc5d('0x6')]);router[_0xdc5d('0x7')](_0xdc5d('0x8'),auth[_0xdc5d('0x5')](),controller[_0xdc5d('0x9')]);router[_0xdc5d('0x7')](_0xdc5d('0xa'),auth[_0xdc5d('0x5')](),controller[_0xdc5d('0xb')]);router[_0xdc5d('0xc')]('/',auth[_0xdc5d('0x5')](),controller[_0xdc5d('0xd')]);router[_0xdc5d('0xe')](_0xdc5d('0xa'),auth[_0xdc5d('0x5')](),controller[_0xdc5d('0xf')]);router[_0xdc5d('0x10')]('/:id',auth[_0xdc5d('0x5')](),controller[_0xdc5d('0x11')]);module['exports']=router;