Built motion from commit 994c64e1.|2.6.1
[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 _0x3b1e=['get','index','/describe','describe','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer','util','express','fs-extra','../../components/interaction/service','../../config/environment','./userProfileResource.controller'];(function(_0x595911,_0x4bc4f6){var _0x22aef9=function(_0x31850f){while(--_0x31850f){_0x595911['push'](_0x595911['shift']());}};_0x22aef9(++_0x4bc4f6);}(_0x3b1e,0x189));var _0xe3b1=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x3b1e[_0x19950b];return _0x3c6b41;};'use strict';var multer=require(_0xe3b1('0x0'));var util=require(_0xe3b1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe3b1('0x2'));var router=express['Router']();var fs_extra=require(_0xe3b1('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xe3b1('0x4'));var config=require(_0xe3b1('0x5'));var controller=require(_0xe3b1('0x6'));router[_0xe3b1('0x7')]('/',auth['isAuthenticated'](),controller[_0xe3b1('0x8')]);router[_0xe3b1('0x7')](_0xe3b1('0x9'),auth['isAuthenticated'](),controller[_0xe3b1('0xa')]);router[_0xe3b1('0x7')](_0xe3b1('0xb'),auth[_0xe3b1('0xc')](),controller[_0xe3b1('0xd')]);router[_0xe3b1('0xe')]('/',auth[_0xe3b1('0xc')](),controller[_0xe3b1('0xf')]);router[_0xe3b1('0x10')](_0xe3b1('0xb'),auth[_0xe3b1('0xc')](),controller['update']);router[_0xe3b1('0x11')](_0xe3b1('0xb'),auth[_0xe3b1('0xc')](),controller[_0xe3b1('0x12')]);module[_0xe3b1('0x13')]=router;