Built motion from commit (unavailable).|2.5.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 _0xc924=['show','update','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x16ea29,_0x1b1bef){var _0x5b6c64=function(_0x183fcb){while(--_0x183fcb){_0x16ea29['push'](_0x16ea29['shift']());}};_0x5b6c64(++_0x1b1bef);}(_0xc924,0x136));var _0x4c92=function(_0x28f19c,_0x3db02){_0x28f19c=_0x28f19c-0x0;var _0x5f30ce=_0xc924[_0x28f19c];return _0x5f30ce;};'use strict';var multer=require(_0x4c92('0x0'));var util=require(_0x4c92('0x1'));var path=require(_0x4c92('0x2'));var timeout=require(_0x4c92('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x4c92('0x4'));var interaction=require(_0x4c92('0x5'));var config=require(_0x4c92('0x6'));var controller=require(_0x4c92('0x7'));router[_0x4c92('0x8')]('/',auth[_0x4c92('0x9')](),controller[_0x4c92('0xa')]);router['get'](_0x4c92('0xb'),auth['isAuthenticated'](),controller[_0x4c92('0xc')]);router[_0x4c92('0x8')](_0x4c92('0xd'),auth['isAuthenticated'](),controller[_0x4c92('0xe')]);router['post']('/',auth[_0x4c92('0x9')](),controller['create']);router['put'](_0x4c92('0xd'),auth[_0x4c92('0x9')](),controller[_0x4c92('0xf')]);router['delete'](_0x4c92('0xd'),auth[_0x4c92('0x9')](),controller[_0x4c92('0x10')]);module[_0x4c92('0x11')]=router;