b9095f1c6a79ce07880066e5a80d950b99cac359
[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 _0xfb65=['../../config/environment','./license.controller','index','put','isAuthenticated','update','exports','multer','util','path','connect-timeout','express','../../components/interaction/service'];(function(_0x52c822,_0x2602f2){var _0x2cea59=function(_0x46413f){while(--_0x46413f){_0x52c822['push'](_0x52c822['shift']());}};_0x2cea59(++_0x2602f2);}(_0xfb65,0x96));var _0x5fb6=function(_0x25f62f,_0x474702){_0x25f62f=_0x25f62f-0x0;var _0x510417=_0xfb65[_0x25f62f];return _0x510417;};'use strict';var multer=require(_0x5fb6('0x0'));var util=require(_0x5fb6('0x1'));var path=require(_0x5fb6('0x2'));var timeout=require(_0x5fb6('0x3'));var express=require(_0x5fb6('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x5fb6('0x5'));var config=require(_0x5fb6('0x6'));var controller=require(_0x5fb6('0x7'));router['get']('/',controller[_0x5fb6('0x8')]);router[_0x5fb6('0x9')]('/:id',auth[_0x5fb6('0xa')](),controller[_0x5fb6('0xb')]);module[_0x5fb6('0xc')]=router;