32216f3ada105db82c2057368cf3a2c90f6b2527
[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 _0x9541=['../../components/interaction/service','./userProfileResource.controller','isAuthenticated','index','get','/describe','describe','show','post','put','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x5aa26f,_0x5e32fc){var _0x7e1a26=function(_0x5d9328){while(--_0x5d9328){_0x5aa26f['push'](_0x5aa26f['shift']());}};_0x7e1a26(++_0x5e32fc);}(_0x9541,0xea));var _0x1954=function(_0x5dfb08,_0x5ab50a){_0x5dfb08=_0x5dfb08-0x0;var _0xc42f9e=_0x9541[_0x5dfb08];return _0xc42f9e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1954('0x0'));var timeout=require(_0x1954('0x1'));var express=require(_0x1954('0x2'));var router=express[_0x1954('0x3')]();var fs_extra=require(_0x1954('0x4'));var auth=require(_0x1954('0x5'));var interaction=require(_0x1954('0x6'));var config=require('../../config/environment');var controller=require(_0x1954('0x7'));router['get']('/',auth[_0x1954('0x8')](),controller[_0x1954('0x9')]);router[_0x1954('0xa')](_0x1954('0xb'),auth[_0x1954('0x8')](),controller[_0x1954('0xc')]);router[_0x1954('0xa')]('/:id',auth[_0x1954('0x8')](),controller[_0x1954('0xd')]);router[_0x1954('0xe')]('/',auth[_0x1954('0x8')](),controller['create']);router[_0x1954('0xf')]('/:id',auth[_0x1954('0x8')](),controller[_0x1954('0x10')]);router[_0x1954('0x11')]('/:id',auth[_0x1954('0x8')](),controller[_0x1954('0x12')]);module[_0x1954('0x13')]=router;