887fa545f1d0d93c6e72f7a1cb846f9cfdef58b0
[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 _0xc0bd=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','index','/describe','isAuthenticated','/:id','show','post','put','update','delete','destroy','util'];(function(_0x2633a8,_0x49434a){var _0x8b6a52=function(_0x5eecf3){while(--_0x5eecf3){_0x2633a8['push'](_0x2633a8['shift']());}};_0x8b6a52(++_0x49434a);}(_0xc0bd,0x179));var _0xdc0b=function(_0x46305f,_0x3253fa){_0x46305f=_0x46305f-0x0;var _0x52dccc=_0xc0bd[_0x46305f];return _0x52dccc;};'use strict';var multer=require('multer');var util=require(_0xdc0b('0x0'));var path=require(_0xdc0b('0x1'));var timeout=require(_0xdc0b('0x2'));var express=require(_0xdc0b('0x3'));var router=express[_0xdc0b('0x4')]();var fs_extra=require(_0xdc0b('0x5'));var auth=require(_0xdc0b('0x6'));var interaction=require(_0xdc0b('0x7'));var config=require(_0xdc0b('0x8'));var controller=require(_0xdc0b('0x9'));router[_0xdc0b('0xa')]('/',auth['isAuthenticated'](),controller[_0xdc0b('0xb')]);router[_0xdc0b('0xa')](_0xdc0b('0xc'),auth[_0xdc0b('0xd')](),controller['describe']);router[_0xdc0b('0xa')](_0xdc0b('0xe'),auth[_0xdc0b('0xd')](),controller[_0xdc0b('0xf')]);router[_0xdc0b('0x10')]('/',auth[_0xdc0b('0xd')](),controller['create']);router[_0xdc0b('0x11')](_0xdc0b('0xe'),auth[_0xdc0b('0xd')](),controller[_0xdc0b('0x12')]);router[_0xdc0b('0x13')](_0xdc0b('0xe'),auth[_0xdc0b('0xd')](),controller[_0xdc0b('0x14')]);module['exports']=router;