e4f9ea8cbfaab80384b84a4045c520d3dca499a0
[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 _0x7c5e=['../../config/environment','get','index','isAuthenticated','update','exports','multer','util','path','connect-timeout','Router','../../components/auth/service'];(function(_0x575a38,_0x2e83d7){var _0x5a7bdd=function(_0x1bf478){while(--_0x1bf478){_0x575a38['push'](_0x575a38['shift']());}};_0x5a7bdd(++_0x2e83d7);}(_0x7c5e,0xba));var _0xe7c5=function(_0x3e4106,_0x3cf29f){_0x3e4106=_0x3e4106-0x0;var _0x1d4b1c=_0x7c5e[_0x3e4106];return _0x1d4b1c;};'use strict';var multer=require(_0xe7c5('0x0'));var util=require(_0xe7c5('0x1'));var path=require(_0xe7c5('0x2'));var timeout=require(_0xe7c5('0x3'));var express=require('express');var router=express[_0xe7c5('0x4')]();var auth=require(_0xe7c5('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe7c5('0x6'));var controller=require('./license.controller');router[_0xe7c5('0x7')]('/',controller[_0xe7c5('0x8')]);router['put']('/:id',auth[_0xe7c5('0x9')](),controller[_0xe7c5('0xa')]);module[_0xe7c5('0xb')]=router;