327a63d55e4c89e52bb2bc9153ae75fbcda044ea
[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 _0xf575=['index','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated'];(function(_0x4ed1d4,_0x512d9a){var _0x28e363=function(_0x2bdfb7){while(--_0x2bdfb7){_0x4ed1d4['push'](_0x4ed1d4['shift']());}};_0x28e363(++_0x512d9a);}(_0xf575,0xa5));var _0x5f57=function(_0xe5cbdd,_0x4b48ea){_0xe5cbdd=_0xe5cbdd-0x0;var _0x25558c=_0xf575[_0xe5cbdd];return _0x25558c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5f57('0x0'));var timeout=require(_0x5f57('0x1'));var express=require(_0x5f57('0x2'));var router=express[_0x5f57('0x3')]();var fs_extra=require(_0x5f57('0x4'));var auth=require(_0x5f57('0x5'));var interaction=require(_0x5f57('0x6'));var config=require(_0x5f57('0x7'));var controller=require(_0x5f57('0x8'));router[_0x5f57('0x9')]('/',auth[_0x5f57('0xa')](),controller[_0x5f57('0xb')]);router[_0x5f57('0x9')](_0x5f57('0xc'),auth[_0x5f57('0xa')](),controller[_0x5f57('0xd')]);router[_0x5f57('0x9')](_0x5f57('0xe'),auth[_0x5f57('0xa')](),controller[_0x5f57('0xf')]);router[_0x5f57('0x10')]('/',auth[_0x5f57('0xa')](),controller['create']);router[_0x5f57('0x11')]('/:id',auth[_0x5f57('0xa')](),controller[_0x5f57('0x12')]);router[_0x5f57('0x13')](_0x5f57('0xe'),auth[_0x5f57('0xa')](),controller[_0x5f57('0x14')]);module[_0x5f57('0x15')]=router;