ed775ec2565ba6a5027178f2657e7c400607b285
[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 _0xff84=['get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller'];(function(_0x5aae69,_0x59cc11){var _0x5e0e1e=function(_0x347b9d){while(--_0x347b9d){_0x5aae69['push'](_0x5aae69['shift']());}};_0x5e0e1e(++_0x59cc11);}(_0xff84,0x13a));var _0x4ff8=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xff84[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x4ff8('0x0'));var express=require(_0x4ff8('0x1'));var router=express['Router']();var auth=require(_0x4ff8('0x2'));var interaction=require(_0x4ff8('0x3'));var config=require(_0x4ff8('0x4'));var controller=require(_0x4ff8('0x5'));router[_0x4ff8('0x6')]('/',auth[_0x4ff8('0x7')](),controller[_0x4ff8('0x8')]);router[_0x4ff8('0x6')](_0x4ff8('0x9'),auth[_0x4ff8('0x7')](),controller[_0x4ff8('0xa')]);router[_0x4ff8('0x6')](_0x4ff8('0xb'),auth['isAuthenticated'](),controller[_0x4ff8('0xc')]);router[_0x4ff8('0xd')]('/',auth[_0x4ff8('0x7')](),controller[_0x4ff8('0xe')]);router[_0x4ff8('0xf')]('/:id',auth[_0x4ff8('0x7')](),controller[_0x4ff8('0x10')]);router[_0x4ff8('0x11')](_0x4ff8('0xb'),auth['isAuthenticated'](),controller[_0x4ff8('0x12')]);module[_0x4ff8('0x13')]=router;