f0401304539f91e25dabbd35f57fddaef29a31cc
[motion2.git] / server / api / license / 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 _0x1670=['multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','index','put','/:id','isAuthenticated','update','exports'];(function(_0x17e455,_0x21a56b){var _0x4cd511=function(_0x239105){while(--_0x239105){_0x17e455['push'](_0x17e455['shift']());}};_0x4cd511(++_0x21a56b);}(_0x1670,0x9a));var _0x0167=function(_0x1d5691,_0x6042b5){_0x1d5691=_0x1d5691-0x0;var _0x579db8=_0x1670[_0x1d5691];return _0x579db8;};'use strict';var multer=require(_0x0167('0x0'));var util=require(_0x0167('0x1'));var path=require('path');var timeout=require(_0x0167('0x2'));var express=require('express');var router=express[_0x0167('0x3')]();var fs_extra=require(_0x0167('0x4'));var auth=require(_0x0167('0x5'));var interaction=require(_0x0167('0x6'));var config=require('../../config/environment');var controller=require('./license.controller');router[_0x0167('0x7')]('/',controller[_0x0167('0x8')]);router[_0x0167('0x9')](_0x0167('0xa'),auth[_0x0167('0xb')](),controller[_0x0167('0xc')]);module[_0x0167('0xd')]=router;