Built motion from commit 775e2a94.|2.6.3
[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 _0xa23b=['get','isAuthenticated','index','/describe','describe','/:id','show','create','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileSection.controller'];(function(_0x29ae84,_0x2a26e0){var _0x526794=function(_0x432b73){while(--_0x432b73){_0x29ae84['push'](_0x29ae84['shift']());}};_0x526794(++_0x2a26e0);}(_0xa23b,0x107));var _0xba23=function(_0x4a700e,_0x4cfb44){_0x4a700e=_0x4a700e-0x0;var _0x5c4e5d=_0xa23b[_0x4a700e];return _0x5c4e5d;};'use strict';var multer=require('multer');var util=require(_0xba23('0x0'));var path=require(_0xba23('0x1'));var timeout=require(_0xba23('0x2'));var express=require(_0xba23('0x3'));var router=express[_0xba23('0x4')]();var fs_extra=require(_0xba23('0x5'));var auth=require(_0xba23('0x6'));var interaction=require(_0xba23('0x7'));var config=require(_0xba23('0x8'));var controller=require(_0xba23('0x9'));router[_0xba23('0xa')]('/',auth[_0xba23('0xb')](),controller[_0xba23('0xc')]);router[_0xba23('0xa')](_0xba23('0xd'),auth[_0xba23('0xb')](),controller[_0xba23('0xe')]);router[_0xba23('0xa')](_0xba23('0xf'),auth[_0xba23('0xb')](),controller[_0xba23('0x10')]);router['post']('/',auth[_0xba23('0xb')](),controller[_0xba23('0x11')]);router['put'](_0xba23('0xf'),auth[_0xba23('0xb')](),controller[_0xba23('0x12')]);router[_0xba23('0x13')](_0xba23('0xf'),auth[_0xba23('0xb')](),controller['destroy']);module[_0xba23('0x14')]=router;