e05e11ecdf55d90c8444890fe3716193247300c2
[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 _0x55a5=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router'];(function(_0x1ef167,_0x444fcd){var _0x594b71=function(_0x37de4c){while(--_0x37de4c){_0x1ef167['push'](_0x1ef167['shift']());}};_0x594b71(++_0x444fcd);}(_0x55a5,0xf7));var _0x555a=function(_0xc298ad,_0xea4dc2){_0xc298ad=_0xc298ad-0x0;var _0x11b2e6=_0x55a5[_0xc298ad];return _0x11b2e6;};'use strict';var multer=require(_0x555a('0x0'));var util=require('util');var path=require(_0x555a('0x1'));var timeout=require(_0x555a('0x2'));var express=require(_0x555a('0x3'));var router=express[_0x555a('0x4')]();var fs_extra=require(_0x555a('0x5'));var auth=require(_0x555a('0x6'));var interaction=require(_0x555a('0x7'));var config=require(_0x555a('0x8'));var controller=require(_0x555a('0x9'));router[_0x555a('0xa')]('/',auth[_0x555a('0xb')](),controller[_0x555a('0xc')]);router[_0x555a('0xa')](_0x555a('0xd'),auth[_0x555a('0xb')](),controller['show']);router[_0x555a('0xe')]('/',auth[_0x555a('0xb')](),controller[_0x555a('0xf')]);router[_0x555a('0x10')](_0x555a('0xd'),auth[_0x555a('0xb')](),controller[_0x555a('0x11')]);router[_0x555a('0x12')]('/:id',auth[_0x555a('0xb')](),controller[_0x555a('0x13')]);module[_0x555a('0x14')]=router;