Built motion from commit (unavailable).|2.5.24
[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 _0xd950=['update','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','isAuthenticated','index','get','/describe','describe','post','create','put'];(function(_0x1b5aea,_0x3f04b7){var _0x15cfc6=function(_0x204e92){while(--_0x204e92){_0x1b5aea['push'](_0x1b5aea['shift']());}};_0x15cfc6(++_0x3f04b7);}(_0xd950,0x17f));var _0x0d95=function(_0x4a2ad7,_0x2dea1e){_0x4a2ad7=_0x4a2ad7-0x0;var _0x89f36e=_0xd950[_0x4a2ad7];return _0x89f36e;};'use strict';var multer=require(_0x0d95('0x0'));var util=require(_0x0d95('0x1'));var path=require('path');var timeout=require(_0x0d95('0x2'));var express=require(_0x0d95('0x3'));var router=express[_0x0d95('0x4')]();var auth=require(_0x0d95('0x5'));var interaction=require(_0x0d95('0x6'));var config=require(_0x0d95('0x7'));var controller=require(_0x0d95('0x8'));router['get']('/',auth[_0x0d95('0x9')](),controller[_0x0d95('0xa')]);router[_0x0d95('0xb')](_0x0d95('0xc'),auth['isAuthenticated'](),controller[_0x0d95('0xd')]);router[_0x0d95('0xb')]('/:id',auth[_0x0d95('0x9')](),controller['show']);router[_0x0d95('0xe')]('/',auth[_0x0d95('0x9')](),controller[_0x0d95('0xf')]);router[_0x0d95('0x10')]('/:id',auth[_0x0d95('0x9')](),controller[_0x0d95('0x11')]);router[_0x0d95('0x12')]('/:id',auth[_0x0d95('0x9')](),controller[_0x0d95('0x13')]);module['exports']=router;