9d665d3734be2ea824266670bdab44991e72a7a3
[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 _0x61ce=['util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','index','put','/:id','isAuthenticated','update','exports'];(function(_0x52b094,_0x37c7a3){var _0x43af7c=function(_0x3e0c9c){while(--_0x3e0c9c){_0x52b094['push'](_0x52b094['shift']());}};_0x43af7c(++_0x37c7a3);}(_0x61ce,0xea));var _0xe61c=function(_0x5d6e71,_0x5fbd4c){_0x5d6e71=_0x5d6e71-0x0;var _0x13b823=_0x61ce[_0x5d6e71];return _0x13b823;};'use strict';var multer=require('multer');var util=require(_0xe61c('0x0'));var path=require('path');var timeout=require(_0xe61c('0x1'));var express=require(_0xe61c('0x2'));var router=express[_0xe61c('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xe61c('0x4'));var config=require(_0xe61c('0x5'));var controller=require('./license.controller');router[_0xe61c('0x6')]('/',controller[_0xe61c('0x7')]);router[_0xe61c('0x8')](_0xe61c('0x9'),auth[_0xe61c('0xa')](),controller[_0xe61c('0xb')]);module[_0xe61c('0xc')]=router;