Built motion from commit (unavailable).|2.5.6
[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 _0xc415=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileSection.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','multer','util','path','connect-timeout'];(function(_0x279518,_0x434512){var _0x327eab=function(_0x415b5f){while(--_0x415b5f){_0x279518['push'](_0x279518['shift']());}};_0x327eab(++_0x434512);}(_0xc415,0xd8));var _0x5c41=function(_0x25767b,_0x2c7bcc){_0x25767b=_0x25767b-0x0;var _0x3df9a5=_0xc415[_0x25767b];return _0x3df9a5;};'use strict';var multer=require(_0x5c41('0x0'));var util=require(_0x5c41('0x1'));var path=require(_0x5c41('0x2'));var timeout=require(_0x5c41('0x3'));var express=require('express');var router=express[_0x5c41('0x4')]();var auth=require(_0x5c41('0x5'));var interaction=require(_0x5c41('0x6'));var config=require(_0x5c41('0x7'));var controller=require(_0x5c41('0x8'));router[_0x5c41('0x9')]('/',auth[_0x5c41('0xa')](),controller[_0x5c41('0xb')]);router[_0x5c41('0x9')](_0x5c41('0xc'),auth[_0x5c41('0xa')](),controller[_0x5c41('0xd')]);router[_0x5c41('0x9')](_0x5c41('0xe'),auth['isAuthenticated'](),controller[_0x5c41('0xf')]);router[_0x5c41('0x10')]('/',auth[_0x5c41('0xa')](),controller[_0x5c41('0x11')]);router[_0x5c41('0x12')](_0x5c41('0xe'),auth[_0x5c41('0xa')](),controller[_0x5c41('0x13')]);router[_0x5c41('0x14')](_0x5c41('0xe'),auth[_0x5c41('0xa')](),controller[_0x5c41('0x15')]);module['exports']=router;