7a84437aa6fe571af39e319b3c9c50b7585c63a7
[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 _0x0fc7=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id','isAuthenticated','update','exports','util','path','connect-timeout','express'];(function(_0x3f8aa5,_0x3a131e){var _0x55e368=function(_0x25fc96){while(--_0x25fc96){_0x3f8aa5['push'](_0x3f8aa5['shift']());}};_0x55e368(++_0x3a131e);}(_0x0fc7,0xcc));var _0x70fc=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0fc7[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0x70fc('0x0'));var path=require(_0x70fc('0x1'));var timeout=require(_0x70fc('0x2'));var express=require(_0x70fc('0x3'));var router=express[_0x70fc('0x4')]();var auth=require(_0x70fc('0x5'));var interaction=require(_0x70fc('0x6'));var config=require(_0x70fc('0x7'));var controller=require(_0x70fc('0x8'));router[_0x70fc('0x9')]('/',controller[_0x70fc('0xa')]);router[_0x70fc('0xb')](_0x70fc('0xc'),auth[_0x70fc('0xd')](),controller[_0x70fc('0xe')]);module[_0x70fc('0xf')]=router;