Built motion from commit 8356fca3.|2.6.19
[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 _0xac65=['isAuthenticated','index','get','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./variable.controller'];(function(_0x55056c,_0x5a8d1b){var _0x257f13=function(_0x39422f){while(--_0x39422f){_0x55056c['push'](_0x55056c['shift']());}};_0x257f13(++_0x5a8d1b);}(_0xac65,0x11d));var _0x5ac6=function(_0x30eb72,_0x228296){_0x30eb72=_0x30eb72-0x0;var _0x63ecec=_0xac65[_0x30eb72];return _0x63ecec;};'use strict';var multer=require(_0x5ac6('0x0'));var util=require(_0x5ac6('0x1'));var path=require(_0x5ac6('0x2'));var timeout=require('connect-timeout');var express=require(_0x5ac6('0x3'));var router=express[_0x5ac6('0x4')]();var fs_extra=require(_0x5ac6('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x5ac6('0x6'));var config=require(_0x5ac6('0x7'));var controller=require(_0x5ac6('0x8'));router['get']('/',auth[_0x5ac6('0x9')](),controller[_0x5ac6('0xa')]);router[_0x5ac6('0xb')](_0x5ac6('0xc'),auth[_0x5ac6('0x9')](),controller[_0x5ac6('0xd')]);router[_0x5ac6('0xe')]('/',auth[_0x5ac6('0x9')](),controller[_0x5ac6('0xf')]);router[_0x5ac6('0x10')](_0x5ac6('0xc'),auth[_0x5ac6('0x9')](),controller[_0x5ac6('0x11')]);router[_0x5ac6('0x12')](_0x5ac6('0xc'),auth[_0x5ac6('0x9')](),controller[_0x5ac6('0x13')]);module[_0x5ac6('0x14')]=router;