Built motion from commit (unavailable).|2.5.21
[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 _0x57b2=['path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./userProfileResource.controller','/describe','describe','get','/:id','show','post','create','put','isAuthenticated','update','delete','destroy','exports','multer','util'];(function(_0x1994d0,_0x1a81a3){var _0xacb720=function(_0x559c16){while(--_0x559c16){_0x1994d0['push'](_0x1994d0['shift']());}};_0xacb720(++_0x1a81a3);}(_0x57b2,0xda));var _0x257b=function(_0x2fe4bb,_0x3ece36){_0x2fe4bb=_0x2fe4bb-0x0;var _0x40a8e4=_0x57b2[_0x2fe4bb];return _0x40a8e4;};'use strict';var multer=require(_0x257b('0x0'));var util=require(_0x257b('0x1'));var path=require(_0x257b('0x2'));var timeout=require(_0x257b('0x3'));var express=require(_0x257b('0x4'));var router=express[_0x257b('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x257b('0x6'));var config=require(_0x257b('0x7'));var controller=require(_0x257b('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x257b('0x9'),auth['isAuthenticated'](),controller[_0x257b('0xa')]);router[_0x257b('0xb')](_0x257b('0xc'),auth['isAuthenticated'](),controller[_0x257b('0xd')]);router[_0x257b('0xe')]('/',auth['isAuthenticated'](),controller[_0x257b('0xf')]);router[_0x257b('0x10')](_0x257b('0xc'),auth[_0x257b('0x11')](),controller[_0x257b('0x12')]);router[_0x257b('0x13')](_0x257b('0xc'),auth[_0x257b('0x11')](),controller[_0x257b('0x14')]);module[_0x257b('0x15')]=router;