Built motion from commit (unavailable).|2.5.12
[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 _0xb79a=['post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','index','/describe','isAuthenticated','describe','/:id','show'];(function(_0x3f8067,_0x35973d){var _0x32c34e=function(_0x17efa9){while(--_0x17efa9){_0x3f8067['push'](_0x3f8067['shift']());}};_0x32c34e(++_0x35973d);}(_0xb79a,0x18e));var _0xab79=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xb79a[_0x2641f9];return _0x585741;};'use strict';var multer=require(_0xab79('0x0'));var util=require(_0xab79('0x1'));var path=require('path');var timeout=require(_0xab79('0x2'));var express=require(_0xab79('0x3'));var router=express[_0xab79('0x4')]();var auth=require(_0xab79('0x5'));var interaction=require(_0xab79('0x6'));var config=require(_0xab79('0x7'));var controller=require(_0xab79('0x8'));router[_0xab79('0x9')]('/',auth['isAuthenticated'](),controller[_0xab79('0xa')]);router['get'](_0xab79('0xb'),auth[_0xab79('0xc')](),controller[_0xab79('0xd')]);router[_0xab79('0x9')](_0xab79('0xe'),auth[_0xab79('0xc')](),controller[_0xab79('0xf')]);router[_0xab79('0x10')]('/',auth[_0xab79('0xc')](),controller[_0xab79('0x11')]);router[_0xab79('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xab79('0x13')]);router[_0xab79('0x14')](_0xab79('0xe'),auth[_0xab79('0xc')](),controller[_0xab79('0x15')]);module[_0xab79('0x16')]=router;