3f61e032583ba1cdd4168dbaf1f2ba1aeb76dc28
[motion2.git] / server / api / user-setting / 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 _0x8a66=['exports','express','Router','../../components/auth/service','put','/:id','isAuthenticated','update'];(function(_0x2dc5ca,_0x2ab4c4){var _0x446f01=function(_0x1cfbc2){while(--_0x1cfbc2){_0x2dc5ca['push'](_0x2dc5ca['shift']());}};_0x446f01(++_0x2ab4c4);}(_0x8a66,0xe1));var _0x68a6=function(_0x516927,_0xb4aad0){_0x516927=_0x516927-0x0;var _0x30749b=_0x8a66[_0x516927];return _0x30749b;};'use strict';var express=require(_0x68a6('0x0'));var router=express[_0x68a6('0x1')]();var auth=require(_0x68a6('0x2'));var controller=require('./user-setting.controller');router[_0x68a6('0x3')](_0x68a6('0x4'),auth[_0x68a6('0x5')](),controller[_0x68a6('0x6')]);module[_0x68a6('0x7')]=router;