b874dc12517eac489d6cda80180bcca864643f7c
[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 _0x35f9=['path','connect-timeout','Router','../../components/interaction/service','../../config/environment','index','put','/:id','isAuthenticated','update','exports','multer','util'];(function(_0x3fd540,_0x384de7){var _0xe53b89=function(_0x2dc21c){while(--_0x2dc21c){_0x3fd540['push'](_0x3fd540['shift']());}};_0xe53b89(++_0x384de7);}(_0x35f9,0x1df));var _0x935f=function(_0x440a1d,_0x176792){_0x440a1d=_0x440a1d-0x0;var _0x3a8fa1=_0x35f9[_0x440a1d];return _0x3a8fa1;};'use strict';var multer=require(_0x935f('0x0'));var util=require(_0x935f('0x1'));var path=require(_0x935f('0x2'));var timeout=require(_0x935f('0x3'));var express=require('express');var router=express[_0x935f('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x935f('0x5'));var config=require(_0x935f('0x6'));var controller=require('./license.controller');router['get']('/',controller[_0x935f('0x7')]);router[_0x935f('0x8')](_0x935f('0x9'),auth[_0x935f('0xa')](),controller[_0x935f('0xb')]);module[_0x935f('0xc')]=router;