Built motion from commit 53172ac8.|2.6.30
[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 _0x7cc9=['Router','./user-setting.controller','put','/:id','update','exports','express'];(function(_0x11ad99,_0x4eabe0){var _0x29d8d1=function(_0x352aeb){while(--_0x352aeb){_0x11ad99['push'](_0x11ad99['shift']());}};_0x29d8d1(++_0x4eabe0);}(_0x7cc9,0x13a));var _0x97cc=function(_0x6a7421,_0x20b4f5){_0x6a7421=_0x6a7421-0x0;var _0x33f5d1=_0x7cc9[_0x6a7421];return _0x33f5d1;};'use strict';var express=require(_0x97cc('0x0'));var router=express[_0x97cc('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x97cc('0x2'));router[_0x97cc('0x3')](_0x97cc('0x4'),auth['isAuthenticated'](),controller[_0x97cc('0x5')]);module[_0x97cc('0x6')]=router;