9590c4f4e96168e2cbb69ece857327e453a79ba9
[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 _0xeabf=['put','isAuthenticated','update','exports','express','Router','./user-setting.controller'];(function(_0x5dea9d,_0x5878bc){var _0x13fbfc=function(_0x4e92f6){while(--_0x4e92f6){_0x5dea9d['push'](_0x5dea9d['shift']());}};_0x13fbfc(++_0x5878bc);}(_0xeabf,0x12a));var _0xfeab=function(_0x936406,_0x2d3f0d){_0x936406=_0x936406-0x0;var _0x388997=_0xeabf[_0x936406];return _0x388997;};'use strict';var express=require(_0xfeab('0x0'));var router=express[_0xfeab('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xfeab('0x2'));router[_0xfeab('0x3')]('/:id',auth[_0xfeab('0x4')](),controller[_0xfeab('0x5')]);module[_0xfeab('0x6')]=router;