Built motion from commit (unavailable).|2.5.10
[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 _0xa3f1=['express','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id','isAuthenticated','update','multer','util','connect-timeout'];(function(_0xdfe5c,_0x3ed0c9){var _0x4aadac=function(_0x317cae){while(--_0x317cae){_0xdfe5c['push'](_0xdfe5c['shift']());}};_0x4aadac(++_0x3ed0c9);}(_0xa3f1,0xc1));var _0x1a3f=function(_0x13f18f,_0x256d0a){_0x13f18f=_0x13f18f-0x0;var _0x3a622f=_0xa3f1[_0x13f18f];return _0x3a622f;};'use strict';var multer=require(_0x1a3f('0x0'));var util=require(_0x1a3f('0x1'));var path=require('path');var timeout=require(_0x1a3f('0x2'));var express=require(_0x1a3f('0x3'));var router=express['Router']();var auth=require(_0x1a3f('0x4'));var interaction=require(_0x1a3f('0x5'));var config=require(_0x1a3f('0x6'));var controller=require(_0x1a3f('0x7'));router[_0x1a3f('0x8')]('/',controller[_0x1a3f('0x9')]);router[_0x1a3f('0xa')](_0x1a3f('0xb'),auth[_0x1a3f('0xc')](),controller[_0x1a3f('0xd')]);module['exports']=router;