Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / userProfileResource / 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 _0xb7e2=['post','create','update','delete','/:id','destroy','exports','multer','path','express','../../components/auth/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','index','describe','show'];(function(_0x407853,_0x4887bf){var _0x5b33e4=function(_0x458ab1){while(--_0x458ab1){_0x407853['push'](_0x407853['shift']());}};_0x5b33e4(++_0x4887bf);}(_0xb7e2,0x103));var _0x2b7e=function(_0x371a60,_0x47098f){_0x371a60=_0x371a60-0x0;var _0x2ec1ec=_0xb7e2[_0x371a60];return _0x2ec1ec;};'use strict';var multer=require(_0x2b7e('0x0'));var util=require('util');var path=require(_0x2b7e('0x1'));var timeout=require('connect-timeout');var express=require(_0x2b7e('0x2'));var router=express['Router']();var auth=require(_0x2b7e('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x2b7e('0x4'));var controller=require(_0x2b7e('0x5'));router[_0x2b7e('0x6')]('/',auth[_0x2b7e('0x7')](),controller[_0x2b7e('0x8')]);router[_0x2b7e('0x6')]('/describe',auth[_0x2b7e('0x7')](),controller[_0x2b7e('0x9')]);router[_0x2b7e('0x6')]('/:id',auth[_0x2b7e('0x7')](),controller[_0x2b7e('0xa')]);router[_0x2b7e('0xb')]('/',auth[_0x2b7e('0x7')](),controller[_0x2b7e('0xc')]);router['put']('/:id',auth[_0x2b7e('0x7')](),controller[_0x2b7e('0xd')]);router[_0x2b7e('0xe')](_0x2b7e('0xf'),auth[_0x2b7e('0x7')](),controller[_0x2b7e('0x10')]);module[_0x2b7e('0x11')]=router;