01ff70f17de66bb8aa247f6375839c82794fea0d
[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 _0xc1d8=['get','isAuthenticated','describe','/:id','show','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller'];(function(_0x35731c,_0x5ab1d1){var _0x2f2957=function(_0x2d6583){while(--_0x2d6583){_0x35731c['push'](_0x35731c['shift']());}};_0x2f2957(++_0x5ab1d1);}(_0xc1d8,0x14b));var _0x8c1d=function(_0x487372,_0x435849){_0x487372=_0x487372-0x0;var _0x27fe69=_0xc1d8[_0x487372];return _0x27fe69;};'use strict';var multer=require(_0x8c1d('0x0'));var util=require(_0x8c1d('0x1'));var path=require(_0x8c1d('0x2'));var timeout=require(_0x8c1d('0x3'));var express=require(_0x8c1d('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x8c1d('0x5'));var interaction=require(_0x8c1d('0x6'));var config=require(_0x8c1d('0x7'));var controller=require(_0x8c1d('0x8'));router[_0x8c1d('0x9')]('/',auth[_0x8c1d('0xa')](),controller['index']);router['get']('/describe',auth[_0x8c1d('0xa')](),controller[_0x8c1d('0xb')]);router[_0x8c1d('0x9')](_0x8c1d('0xc'),auth[_0x8c1d('0xa')](),controller[_0x8c1d('0xd')]);router[_0x8c1d('0xe')]('/',auth[_0x8c1d('0xa')](),controller[_0x8c1d('0xf')]);router[_0x8c1d('0x10')](_0x8c1d('0xc'),auth[_0x8c1d('0xa')](),controller[_0x8c1d('0x11')]);router[_0x8c1d('0x12')](_0x8c1d('0xc'),auth[_0x8c1d('0xa')](),controller['destroy']);module[_0x8c1d('0x13')]=router;