Built motion from commit (unavailable).|2.5.7
[motion2.git] / server / api / variable / 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 _0x3024=['../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','show','post','create','put','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x599f41,_0x4db732){var _0x2e4d58=function(_0x14c882){while(--_0x14c882){_0x599f41['push'](_0x599f41['shift']());}};_0x2e4d58(++_0x4db732);}(_0x3024,0x176));var _0x4302=function(_0x460497,_0x502a75){_0x460497=_0x460497-0x0;var _0x5a86c6=_0x3024[_0x460497];return _0x5a86c6;};'use strict';var multer=require(_0x4302('0x0'));var util=require('util');var path=require(_0x4302('0x1'));var timeout=require(_0x4302('0x2'));var express=require(_0x4302('0x3'));var router=express[_0x4302('0x4')]();var auth=require(_0x4302('0x5'));var interaction=require(_0x4302('0x6'));var config=require(_0x4302('0x7'));var controller=require(_0x4302('0x8'));router[_0x4302('0x9')]('/',auth[_0x4302('0xa')](),controller[_0x4302('0xb')]);router['get'](_0x4302('0xc'),auth[_0x4302('0xa')](),controller[_0x4302('0xd')]);router[_0x4302('0xe')]('/',auth[_0x4302('0xa')](),controller[_0x4302('0xf')]);router[_0x4302('0x10')](_0x4302('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x4302('0xc'),auth[_0x4302('0xa')](),controller[_0x4302('0x11')]);module[_0x4302('0x12')]=router;