3d40890b014c2e3e2d64e4ca7af5ac21afb60e9f
[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 _0x4828=['./license.controller','get','index','put','/:id','update','exports','util','connect-timeout','express','Router','fs-extra','../../config/environment'];(function(_0x5d4607,_0x6b5e7b){var _0x5e4a86=function(_0x46891a){while(--_0x46891a){_0x5d4607['push'](_0x5d4607['shift']());}};_0x5e4a86(++_0x6b5e7b);}(_0x4828,0x13f));var _0x8482=function(_0x4a7fd1,_0x4bdde1){_0x4a7fd1=_0x4a7fd1-0x0;var _0x12ef10=_0x4828[_0x4a7fd1];return _0x12ef10;};'use strict';var multer=require('multer');var util=require(_0x8482('0x0'));var path=require('path');var timeout=require(_0x8482('0x1'));var express=require(_0x8482('0x2'));var router=express[_0x8482('0x3')]();var fs_extra=require(_0x8482('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8482('0x5'));var controller=require(_0x8482('0x6'));router[_0x8482('0x7')]('/',controller[_0x8482('0x8')]);router[_0x8482('0x9')](_0x8482('0xa'),auth['isAuthenticated'](),controller[_0x8482('0xb')]);module[_0x8482('0xc')]=router;