Built motion from commit efa66e19.|2.6.22
[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 _0x3bce=['./userProfileResource.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','destroy','exports','multer','util','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x31c6b9,_0x184dbd){var _0x2f25f5=function(_0x3b2d23){while(--_0x3b2d23){_0x31c6b9['push'](_0x31c6b9['shift']());}};_0x2f25f5(++_0x184dbd);}(_0x3bce,0x1c7));var _0xe3bc=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x3bce[_0x2641f9];return _0x585741;};'use strict';var multer=require(_0xe3bc('0x0'));var util=require(_0xe3bc('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe3bc('0x2'));var router=express['Router']();var fs_extra=require(_0xe3bc('0x3'));var auth=require(_0xe3bc('0x4'));var interaction=require(_0xe3bc('0x5'));var config=require(_0xe3bc('0x6'));var controller=require(_0xe3bc('0x7'));router[_0xe3bc('0x8')]('/',auth[_0xe3bc('0x9')](),controller[_0xe3bc('0xa')]);router[_0xe3bc('0x8')](_0xe3bc('0xb'),auth[_0xe3bc('0x9')](),controller[_0xe3bc('0xc')]);router[_0xe3bc('0x8')](_0xe3bc('0xd'),auth[_0xe3bc('0x9')](),controller[_0xe3bc('0xe')]);router[_0xe3bc('0xf')]('/',auth['isAuthenticated'](),controller[_0xe3bc('0x10')]);router[_0xe3bc('0x11')]('/:id',auth[_0xe3bc('0x9')](),controller[_0xe3bc('0x12')]);router['delete'](_0xe3bc('0xd'),auth['isAuthenticated'](),controller[_0xe3bc('0x13')]);module[_0xe3bc('0x14')]=router;