Built motion from commit dc14b02d.|2.6.27
[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 _0x1ae3=['connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x1aa13e,_0x12a40b){var _0x1144bd=function(_0x5f5cae){while(--_0x5f5cae){_0x1aa13e['push'](_0x1aa13e['shift']());}};_0x1144bd(++_0x12a40b);}(_0x1ae3,0x139));var _0x31ae=function(_0x5d3267,_0xe106a8){_0x5d3267=_0x5d3267-0x0;var _0x57dba1=_0x1ae3[_0x5d3267];return _0x57dba1;};'use strict';var multer=require(_0x31ae('0x0'));var util=require(_0x31ae('0x1'));var path=require('path');var timeout=require(_0x31ae('0x2'));var express=require(_0x31ae('0x3'));var router=express[_0x31ae('0x4')]();var fs_extra=require(_0x31ae('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x31ae('0x6'));var config=require(_0x31ae('0x7'));var controller=require(_0x31ae('0x8'));router[_0x31ae('0x9')]('/',auth[_0x31ae('0xa')](),controller[_0x31ae('0xb')]);router[_0x31ae('0x9')](_0x31ae('0xc'),auth[_0x31ae('0xa')](),controller[_0x31ae('0xd')]);router[_0x31ae('0xe')]('/',auth[_0x31ae('0xa')](),controller[_0x31ae('0xf')]);router[_0x31ae('0x10')](_0x31ae('0xc'),auth['isAuthenticated'](),controller[_0x31ae('0x11')]);router[_0x31ae('0x12')](_0x31ae('0xc'),auth['isAuthenticated'](),controller[_0x31ae('0x13')]);module[_0x31ae('0x14')]=router;