850ff886837b7245a4ed8dd2afeb1415096eb1d0
[motion2.git] / server / api / userProfileSection / 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 _0x7f09=['connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./userProfileSection.controller','get','index','/describe','isAuthenticated','/:id','show','post','create','put','update','delete','exports','multer','util','path'];(function(_0x450682,_0x201a06){var _0x1c56bb=function(_0x16f37d){while(--_0x16f37d){_0x450682['push'](_0x450682['shift']());}};_0x1c56bb(++_0x201a06);}(_0x7f09,0x66));var _0x97f0=function(_0x5d2c59,_0x3a71d9){_0x5d2c59=_0x5d2c59-0x0;var _0x2f10bf=_0x7f09[_0x5d2c59];return _0x2f10bf;};'use strict';var multer=require(_0x97f0('0x0'));var util=require(_0x97f0('0x1'));var path=require(_0x97f0('0x2'));var timeout=require(_0x97f0('0x3'));var express=require('express');var router=express[_0x97f0('0x4')]();var fs_extra=require(_0x97f0('0x5'));var auth=require(_0x97f0('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x97f0('0x7'));var controller=require(_0x97f0('0x8'));router[_0x97f0('0x9')]('/',auth['isAuthenticated'](),controller[_0x97f0('0xa')]);router['get'](_0x97f0('0xb'),auth[_0x97f0('0xc')](),controller['describe']);router['get'](_0x97f0('0xd'),auth[_0x97f0('0xc')](),controller[_0x97f0('0xe')]);router[_0x97f0('0xf')]('/',auth[_0x97f0('0xc')](),controller[_0x97f0('0x10')]);router[_0x97f0('0x11')](_0x97f0('0xd'),auth[_0x97f0('0xc')](),controller[_0x97f0('0x12')]);router[_0x97f0('0x13')](_0x97f0('0xd'),auth[_0x97f0('0xc')](),controller['destroy']);module[_0x97f0('0x14')]=router;