Built motion from commit 9e1399f3.|2.5.37
[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 _0x885e=['show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','./variable.controller','get','isAuthenticated','index','/:id'];(function(_0xa83fcc,_0xace7a1){var _0x3a124f=function(_0x1be329){while(--_0x1be329){_0xa83fcc['push'](_0xa83fcc['shift']());}};_0x3a124f(++_0xace7a1);}(_0x885e,0xe4));var _0xe885=function(_0x343667,_0x318e72){_0x343667=_0x343667-0x0;var _0x17a942=_0x885e[_0x343667];return _0x17a942;};'use strict';var multer=require(_0xe885('0x0'));var util=require(_0xe885('0x1'));var path=require('path');var timeout=require(_0xe885('0x2'));var express=require(_0xe885('0x3'));var router=express[_0xe885('0x4')]();var fs_extra=require(_0xe885('0x5'));var auth=require(_0xe885('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xe885('0x7'));router[_0xe885('0x8')]('/',auth[_0xe885('0x9')](),controller[_0xe885('0xa')]);router['get'](_0xe885('0xb'),auth['isAuthenticated'](),controller[_0xe885('0xc')]);router[_0xe885('0xd')]('/',auth[_0xe885('0x9')](),controller[_0xe885('0xe')]);router[_0xe885('0xf')](_0xe885('0xb'),auth['isAuthenticated'](),controller[_0xe885('0x10')]);router[_0xe885('0x11')](_0xe885('0xb'),auth[_0xe885('0x9')](),controller[_0xe885('0x12')]);module[_0xe885('0x13')]=router;