43460bae03728b6f601e75ff455f9ca8d61125f0
[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 _0xb1b7=['./license.controller','get','index','put','/:id','isAuthenticated','update','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x5259b6,_0x5f4d97){var _0x1d9e43=function(_0x33121e){while(--_0x33121e){_0x5259b6['push'](_0x5259b6['shift']());}};_0x1d9e43(++_0x5f4d97);}(_0xb1b7,0x14a));var _0x7b1b=function(_0x8c0739,_0x26d784){_0x8c0739=_0x8c0739-0x0;var _0x54cf06=_0xb1b7[_0x8c0739];return _0x54cf06;};'use strict';var multer=require('multer');var util=require(_0x7b1b('0x0'));var path=require('path');var timeout=require(_0x7b1b('0x1'));var express=require(_0x7b1b('0x2'));var router=express[_0x7b1b('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x7b1b('0x4'));var interaction=require(_0x7b1b('0x5'));var config=require('../../config/environment');var controller=require(_0x7b1b('0x6'));router[_0x7b1b('0x7')]('/',controller[_0x7b1b('0x8')]);router[_0x7b1b('0x9')](_0x7b1b('0xa'),auth[_0x7b1b('0xb')](),controller[_0x7b1b('0xc')]);module[_0x7b1b('0xd')]=router;