Built motion from commit 14588770.|2.5.38
[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 _0x252f=['update','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id','isAuthenticated'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x252f,0x1e2));var _0xf252=function(_0x3eb211,_0x4a2e7f){_0x3eb211=_0x3eb211-0x0;var _0xb32a15=_0x252f[_0x3eb211];return _0xb32a15;};'use strict';var multer=require(_0xf252('0x0'));var util=require('util');var path=require(_0xf252('0x1'));var timeout=require(_0xf252('0x2'));var express=require(_0xf252('0x3'));var router=express[_0xf252('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xf252('0x5'));var interaction=require(_0xf252('0x6'));var config=require(_0xf252('0x7'));var controller=require(_0xf252('0x8'));router[_0xf252('0x9')]('/',controller[_0xf252('0xa')]);router[_0xf252('0xb')](_0xf252('0xc'),auth[_0xf252('0xd')](),controller[_0xf252('0xe')]);module[_0xf252('0xf')]=router;