Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / userProfile / 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 _0x5b20=['getResources','post','create','/:id/clone','update','delete','destroy','removeSections','removeResources','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfile.controller','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/sections','getSections','/:id/resources'];(function(_0x70fd53,_0x2a95a6){var _0x4b71c5=function(_0x4b349d){while(--_0x4b349d){_0x70fd53['push'](_0x70fd53['shift']());}};_0x4b71c5(++_0x2a95a6);}(_0x5b20,0x86));var _0x05b2=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0x5b20[_0x1cc8fe];return _0x230054;};'use strict';var multer=require(_0x05b2('0x0'));var util=require(_0x05b2('0x1'));var path=require(_0x05b2('0x2'));var timeout=require(_0x05b2('0x3'));var express=require(_0x05b2('0x4'));var router=express[_0x05b2('0x5')]();var fs_extra=require(_0x05b2('0x6'));var auth=require(_0x05b2('0x7'));var interaction=require(_0x05b2('0x8'));var config=require(_0x05b2('0x9'));var controller=require(_0x05b2('0xa'));router['get']('/',auth[_0x05b2('0xb')](),controller[_0x05b2('0xc')]);router['get'](_0x05b2('0xd'),auth[_0x05b2('0xb')](),controller[_0x05b2('0xe')]);router[_0x05b2('0xf')](_0x05b2('0x10'),auth[_0x05b2('0xb')](),controller[_0x05b2('0x11')]);router[_0x05b2('0xf')](_0x05b2('0x12'),auth[_0x05b2('0xb')](),controller[_0x05b2('0x13')]);router[_0x05b2('0xf')](_0x05b2('0x14'),auth[_0x05b2('0xb')](),controller[_0x05b2('0x15')]);router[_0x05b2('0x16')]('/',auth['isAuthenticated'](),controller[_0x05b2('0x17')]);router[_0x05b2('0x16')](_0x05b2('0x18'),auth[_0x05b2('0xb')](),controller['clone']);router[_0x05b2('0x16')](_0x05b2('0x12'),auth[_0x05b2('0xb')](),controller['addSections']);router['post'](_0x05b2('0x14'),auth[_0x05b2('0xb')](),controller['addResources']);router['put'](_0x05b2('0x10'),auth[_0x05b2('0xb')](),controller[_0x05b2('0x19')]);router[_0x05b2('0x1a')](_0x05b2('0x10'),auth[_0x05b2('0xb')](),controller[_0x05b2('0x1b')]);router[_0x05b2('0x1a')](_0x05b2('0x12'),auth[_0x05b2('0xb')](),controller[_0x05b2('0x1c')]);router[_0x05b2('0x1a')](_0x05b2('0x14'),auth[_0x05b2('0xb')](),controller[_0x05b2('0x1d')]);module[_0x05b2('0x1e')]=router;