Built motion from commit (unavailable).|2.5.18
[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 _0xf293=['../../components/auth/service','../../config/environment','./variable.controller','get','isAuthenticated','index','show','create','put','update','delete','/:id','exports','multer','path','connect-timeout','express','Router'];(function(_0x5840df,_0x417d7f){var _0x3dcc27=function(_0x522b3f){while(--_0x522b3f){_0x5840df['push'](_0x5840df['shift']());}};_0x3dcc27(++_0x417d7f);}(_0xf293,0xf7));var _0x3f29=function(_0x56fa86,_0x1cc03b){_0x56fa86=_0x56fa86-0x0;var _0x200199=_0xf293[_0x56fa86];return _0x200199;};'use strict';var multer=require(_0x3f29('0x0'));var util=require('util');var path=require(_0x3f29('0x1'));var timeout=require(_0x3f29('0x2'));var express=require(_0x3f29('0x3'));var router=express[_0x3f29('0x4')]();var auth=require(_0x3f29('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3f29('0x6'));var controller=require(_0x3f29('0x7'));router[_0x3f29('0x8')]('/',auth[_0x3f29('0x9')](),controller[_0x3f29('0xa')]);router[_0x3f29('0x8')]('/:id',auth[_0x3f29('0x9')](),controller[_0x3f29('0xb')]);router['post']('/',auth[_0x3f29('0x9')](),controller[_0x3f29('0xc')]);router[_0x3f29('0xd')]('/:id',auth[_0x3f29('0x9')](),controller[_0x3f29('0xe')]);router[_0x3f29('0xf')](_0x3f29('0x10'),auth[_0x3f29('0x9')](),controller['destroy']);module[_0x3f29('0x11')]=router;