Built motion from commit 092f8824.|2.5.49
[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 _0x088e=['express','Router','../../components/auth/service','../../config/environment','./userProfileSection.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','delete','destroy','exports','multer','util','path'];(function(_0x3c029a,_0x30fbba){var _0x619f33=function(_0x522b50){while(--_0x522b50){_0x3c029a['push'](_0x3c029a['shift']());}};_0x619f33(++_0x30fbba);}(_0x088e,0x177));var _0xe088=function(_0x44652f,_0x2736a0){_0x44652f=_0x44652f-0x0;var _0x1f5e54=_0x088e[_0x44652f];return _0x1f5e54;};'use strict';var multer=require(_0xe088('0x0'));var util=require(_0xe088('0x1'));var path=require(_0xe088('0x2'));var timeout=require('connect-timeout');var express=require(_0xe088('0x3'));var router=express[_0xe088('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xe088('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe088('0x6'));var controller=require(_0xe088('0x7'));router[_0xe088('0x8')]('/',auth[_0xe088('0x9')](),controller[_0xe088('0xa')]);router[_0xe088('0x8')](_0xe088('0xb'),auth[_0xe088('0x9')](),controller[_0xe088('0xc')]);router[_0xe088('0x8')](_0xe088('0xd'),auth['isAuthenticated'](),controller[_0xe088('0xe')]);router[_0xe088('0xf')]('/',auth[_0xe088('0x9')](),controller[_0xe088('0x10')]);router[_0xe088('0x11')](_0xe088('0xd'),auth[_0xe088('0x9')](),controller['update']);router[_0xe088('0x12')](_0xe088('0xd'),auth[_0xe088('0x9')](),controller[_0xe088('0x13')]);module[_0xe088('0x14')]=router;