Built motion from commit (unavailable).|2.5.27
[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 _0xc410=['index','/:id','post','create','put','update','delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated'];(function(_0x5e8c1d,_0x38d6b2){var _0xa0ebdd=function(_0x5f05fe){while(--_0x5f05fe){_0x5e8c1d['push'](_0x5e8c1d['shift']());}};_0xa0ebdd(++_0x38d6b2);}(_0xc410,0x183));var _0x0c41=function(_0x1e3bd3,_0x380bf2){_0x1e3bd3=_0x1e3bd3-0x0;var _0x110df1=_0xc410[_0x1e3bd3];return _0x110df1;};'use strict';var multer=require(_0x0c41('0x0'));var util=require(_0x0c41('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x0c41('0x2'));var router=express[_0x0c41('0x3')]();var fs_extra=require(_0x0c41('0x4'));var auth=require(_0x0c41('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x0c41('0x6'));var controller=require('./userProfileSection.controller');router[_0x0c41('0x7')]('/',auth[_0x0c41('0x8')](),controller[_0x0c41('0x9')]);router[_0x0c41('0x7')]('/describe',auth[_0x0c41('0x8')](),controller['describe']);router[_0x0c41('0x7')](_0x0c41('0xa'),auth[_0x0c41('0x8')](),controller['show']);router[_0x0c41('0xb')]('/',auth['isAuthenticated'](),controller[_0x0c41('0xc')]);router[_0x0c41('0xd')]('/:id',auth[_0x0c41('0x8')](),controller[_0x0c41('0xe')]);router[_0x0c41('0xf')](_0x0c41('0xa'),auth['isAuthenticated'](),controller[_0x0c41('0x10')]);module[_0x0c41('0x11')]=router;