Built motion from commit (unavailable).|2.3.0
[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 _0x530f=['delete','exports','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','/describe','/:id','show','post','put','update'];(function(_0x2e8763,_0x2dd77a){var _0x3e2f44=function(_0x18bfc9){while(--_0x18bfc9){_0x2e8763['push'](_0x2e8763['shift']());}};_0x3e2f44(++_0x2dd77a);}(_0x530f,0x167));var _0xf530=function(_0x1d5a32,_0x47974a){_0x1d5a32=_0x1d5a32-0x0;var _0x361ca0=_0x530f[_0x1d5a32];return _0x361ca0;};'use strict';var multer=require('multer');var util=require(_0xf530('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf530('0x1'));var router=express[_0xf530('0x2')]();var auth=require(_0xf530('0x3'));var interaction=require(_0xf530('0x4'));var config=require(_0xf530('0x5'));var controller=require(_0xf530('0x6'));router[_0xf530('0x7')]('/',auth[_0xf530('0x8')](),controller['index']);router[_0xf530('0x7')](_0xf530('0x9'),auth[_0xf530('0x8')](),controller['describe']);router[_0xf530('0x7')](_0xf530('0xa'),auth[_0xf530('0x8')](),controller[_0xf530('0xb')]);router[_0xf530('0xc')]('/',auth[_0xf530('0x8')](),controller['create']);router[_0xf530('0xd')](_0xf530('0xa'),auth[_0xf530('0x8')](),controller[_0xf530('0xe')]);router[_0xf530('0xf')](_0xf530('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0xf530('0x10')]=router;