Built motion from commit (unavailable).|2.3.95
[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 _0xdc91=['./userProfileResource.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','delete','destroy','exports','multer','util','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x59d89e,_0x55edf5){var _0x554e93=function(_0x3d40bc){while(--_0x3d40bc){_0x59d89e['push'](_0x59d89e['shift']());}};_0x554e93(++_0x55edf5);}(_0xdc91,0x8b));var _0x1dc9=function(_0x46791f,_0x191d23){_0x46791f=_0x46791f-0x0;var _0x1fc2b1=_0xdc91[_0x46791f];return _0x1fc2b1;};'use strict';var multer=require(_0x1dc9('0x0'));var util=require(_0x1dc9('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x1dc9('0x2'));var interaction=require(_0x1dc9('0x3'));var config=require(_0x1dc9('0x4'));var controller=require(_0x1dc9('0x5'));router[_0x1dc9('0x6')]('/',auth[_0x1dc9('0x7')](),controller[_0x1dc9('0x8')]);router[_0x1dc9('0x6')]('/describe',auth[_0x1dc9('0x7')](),controller[_0x1dc9('0x9')]);router[_0x1dc9('0x6')](_0x1dc9('0xa'),auth[_0x1dc9('0x7')](),controller[_0x1dc9('0xb')]);router[_0x1dc9('0xc')]('/',auth[_0x1dc9('0x7')](),controller[_0x1dc9('0xd')]);router[_0x1dc9('0xe')]('/:id',auth[_0x1dc9('0x7')](),controller['update']);router[_0x1dc9('0xf')]('/:id',auth[_0x1dc9('0x7')](),controller[_0x1dc9('0x10')]);module[_0x1dc9('0x11')]=router;