Built motion from commit (unavailable).|2.5.25
[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 _0xefbf=['exports','multer','util','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','index','/describe','isAuthenticated','/:id','post','create','update','delete','destroy'];(function(_0x4709ac,_0x44a426){var _0x2c3632=function(_0x5641d5){while(--_0x5641d5){_0x4709ac['push'](_0x4709ac['shift']());}};_0x2c3632(++_0x44a426);}(_0xefbf,0xa3));var _0xfefb=function(_0x33e0d9,_0x37a739){_0x33e0d9=_0x33e0d9-0x0;var _0x28c2c1=_0xefbf[_0x33e0d9];return _0x28c2c1;};'use strict';var multer=require(_0xfefb('0x0'));var util=require(_0xfefb('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfefb('0x2')]();var auth=require(_0xfefb('0x3'));var interaction=require(_0xfefb('0x4'));var config=require(_0xfefb('0x5'));var controller=require(_0xfefb('0x6'));router[_0xfefb('0x7')]('/',auth['isAuthenticated'](),controller[_0xfefb('0x8')]);router['get'](_0xfefb('0x9'),auth[_0xfefb('0xa')](),controller['describe']);router[_0xfefb('0x7')](_0xfefb('0xb'),auth[_0xfefb('0xa')](),controller['show']);router[_0xfefb('0xc')]('/',auth[_0xfefb('0xa')](),controller[_0xfefb('0xd')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xfefb('0xe')]);router[_0xfefb('0xf')](_0xfefb('0xb'),auth[_0xfefb('0xa')](),controller[_0xfefb('0x10')]);module[_0xfefb('0x11')]=router;