Built motion from commit (unavailable).|2.5.2
[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 _0x03a5=['Router','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id','update','multer','path','connect-timeout','express'];(function(_0x59b616,_0x588eb8){var _0x45b673=function(_0x52c9d5){while(--_0x52c9d5){_0x59b616['push'](_0x59b616['shift']());}};_0x45b673(++_0x588eb8);}(_0x03a5,0x1d0));var _0x503a=function(_0x3e5d32,_0x19ce13){_0x3e5d32=_0x3e5d32-0x0;var _0x3e7822=_0x03a5[_0x3e5d32];return _0x3e7822;};'use strict';var multer=require(_0x503a('0x0'));var util=require('util');var path=require(_0x503a('0x1'));var timeout=require(_0x503a('0x2'));var express=require(_0x503a('0x3'));var router=express[_0x503a('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x503a('0x5'));var config=require(_0x503a('0x6'));var controller=require(_0x503a('0x7'));router[_0x503a('0x8')]('/',controller[_0x503a('0x9')]);router[_0x503a('0xa')](_0x503a('0xb'),auth['isAuthenticated'](),controller[_0x503a('0xc')]);module['exports']=router;