Built motion from commit 1fa89557.|2.6.10
[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 _0x8f2f=['/:id','show','post','create','put','update','delete','destroy','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','index','/describe'];(function(_0x1ce5e2,_0x5c0c73){var _0x8b4f92=function(_0x27c235){while(--_0x27c235){_0x1ce5e2['push'](_0x1ce5e2['shift']());}};_0x8b4f92(++_0x5c0c73);}(_0x8f2f,0x184));var _0xf8f2=function(_0x4c440b,_0x3ea627){_0x4c440b=_0x4c440b-0x0;var _0x2d48cf=_0x8f2f[_0x4c440b];return _0x2d48cf;};'use strict';var multer=require(_0xf8f2('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf8f2('0x1'));var router=express[_0xf8f2('0x2')]();var fs_extra=require(_0xf8f2('0x3'));var auth=require(_0xf8f2('0x4'));var interaction=require(_0xf8f2('0x5'));var config=require(_0xf8f2('0x6'));var controller=require(_0xf8f2('0x7'));router[_0xf8f2('0x8')]('/',auth[_0xf8f2('0x9')](),controller[_0xf8f2('0xa')]);router[_0xf8f2('0x8')](_0xf8f2('0xb'),auth[_0xf8f2('0x9')](),controller['describe']);router[_0xf8f2('0x8')](_0xf8f2('0xc'),auth[_0xf8f2('0x9')](),controller[_0xf8f2('0xd')]);router[_0xf8f2('0xe')]('/',auth['isAuthenticated'](),controller[_0xf8f2('0xf')]);router[_0xf8f2('0x10')](_0xf8f2('0xc'),auth['isAuthenticated'](),controller[_0xf8f2('0x11')]);router[_0xf8f2('0x12')](_0xf8f2('0xc'),auth[_0xf8f2('0x9')](),controller[_0xf8f2('0x13')]);module['exports']=router;